using System; using System.Collections.Generic; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities; namespace Shentun.WebPeis.Models; /// /// 预约计划模板 /// public class AppointScheduleTemplate : AuditedEntity, IHasConcurrencyStamp, IDisplayOrder { /// /// 主键 /// public Guid AppointScheduleTemplateId { get; set; } /// /// 星期 /// public int WeekId { get; set; } ///// ///// 上午数量限制 ///// //public int AmNumberLimit { get; set; } ///// ///// 下午数量限制 ///// //public int PmNumberLimit { get; set; } /// /// 个人体检数量限制 /// public int SingleNumberLimit { get; set; } ///// ///// 上午上班时间 ///// //public TimeOnly? AmStartTime { get; set; } ///// ///// 上午下班时间 ///// //public TimeOnly? AmStopTime { get; set; } ///// ///// 下午上班时间 ///// //public TimeOnly? PmStartTime { get; set; } ///// ///// 下午下班时间 ///// //public TimeOnly? PmStopTime { get; set; } /// /// 是否上班 /// public char IsWork { get; set; } public int DisplayOrder { get; set; } /// /// 体检中心ID /// public Guid MedicalCenterId { get; set; } public string? ConcurrencyStamp { get; set; } public virtual ICollection AppointScheduleTemplateTimes { get; set; } = new List(); public override object[] GetKeys() { return [AppointScheduleTemplateId]; } }