45 lines
1.6 KiB
C#
45 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TIAMWebApp.Shared.Application.Models.PageModels
|
|
{
|
|
|
|
public class AppointmentModel
|
|
{
|
|
public AppointmentModel() { }
|
|
|
|
public Guid SourceId { get; set; } //pl: TransferId, stb... - J;
|
|
public int AppointmentType { get; set; }
|
|
public DateTime StartDate { get; set; }
|
|
public DateTime EndDate { get; set; }
|
|
public string Caption { get; set; }
|
|
public string Description { get; set; }
|
|
public string Location { get; set; }
|
|
public int? Label { get; set; }
|
|
public int Status { get; set; }
|
|
public bool AllDay { get; set; }
|
|
public string Recurrence { get; set; }
|
|
public int? ResourceId { get; set; }
|
|
public bool Accepted { get; set; }
|
|
|
|
public AppointmentModel(int appointmentType, DateTime startDate, DateTime endDate, string caption, string description, string location, int? label, int status, bool allDay, string recurrence, int? resourceId, bool accepted)
|
|
{
|
|
AppointmentType = appointmentType;
|
|
StartDate = startDate;
|
|
EndDate = endDate;
|
|
Caption = caption;
|
|
Description = description;
|
|
Location = location;
|
|
Label = label;
|
|
Status = status;
|
|
AllDay = allDay;
|
|
Recurrence = recurrence;
|
|
ResourceId = resourceId;
|
|
Accepted = accepted;
|
|
}
|
|
}
|
|
}
|