45 lines
1.7 KiB
C#
45 lines
1.7 KiB
C#
using AyCode.Core.Interfaces;
|
|
|
|
namespace TIAMWebApp.Shared.Application.Models.PageModels
|
|
{
|
|
|
|
public class AppointmentModel : IId<Guid>
|
|
{
|
|
public AppointmentModel() { }
|
|
|
|
|
|
/// <summary>
|
|
/// SourceId //pl: TransferId, stb... - J;
|
|
/// </summary>
|
|
public Guid Id { 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;
|
|
}
|
|
}
|
|
}
|