You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.8 KiB
79 lines
1.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
namespace Shentun.WebPeis.Models;
|
|
|
|
/// <summary>
|
|
/// 预约计划模板
|
|
/// </summary>
|
|
public class AppointScheduleTemplate : AuditedEntity, IHasConcurrencyStamp, IDisplayOrder
|
|
{
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public Guid AppointScheduleTemplateId { get; set; }
|
|
/// <summary>
|
|
/// 星期
|
|
/// </summary>
|
|
|
|
public int WeekId { get; set; }
|
|
///// <summary>
|
|
///// 上午数量限制
|
|
///// </summary>
|
|
|
|
//public int AmNumberLimit { get; set; }
|
|
///// <summary>
|
|
///// 下午数量限制
|
|
///// </summary>
|
|
|
|
//public int PmNumberLimit { get; set; }
|
|
/// <summary>
|
|
/// 个人体检数量限制
|
|
/// </summary>
|
|
public int SingleNumberLimit { get; set; }
|
|
///// <summary>
|
|
///// 上午上班时间
|
|
///// </summary>
|
|
|
|
//public TimeOnly? AmStartTime { get; set; }
|
|
///// <summary>
|
|
///// 上午下班时间
|
|
///// </summary>
|
|
|
|
//public TimeOnly? AmStopTime { get; set; }
|
|
///// <summary>
|
|
///// 下午上班时间
|
|
///// </summary>
|
|
|
|
//public TimeOnly? PmStartTime { get; set; }
|
|
///// <summary>
|
|
///// 下午下班时间
|
|
///// </summary>
|
|
|
|
//public TimeOnly? PmStopTime { get; set; }
|
|
/// <summary>
|
|
/// 是否上班
|
|
/// </summary>
|
|
|
|
public char IsWork { get; set; }
|
|
|
|
public int DisplayOrder { get; set; }
|
|
|
|
/// <summary>
|
|
/// 体检中心ID
|
|
/// </summary>
|
|
public Guid MedicalCenterId { get; set; }
|
|
|
|
public string? ConcurrencyStamp { get; set; }
|
|
|
|
|
|
public virtual ICollection<AppointScheduleTemplateTime> AppointScheduleTemplateTimes { get; set; } = new List<AppointScheduleTemplateTime>();
|
|
|
|
public override object[] GetKeys()
|
|
{
|
|
return [AppointScheduleTemplateId];
|
|
}
|
|
}
|