TourIAm/TIAMWebApp/Shared/Models/PageModels/AppointmentModel.cs

51 lines
1.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AyCode.Core.Interfaces;
using AyCode.Interfaces.Entities;
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;
}
}
}