using SqlSugar; using System; namespace Model.Entity.Inspection { /// /// 值班排班(按天排班;通知规则勾选"通知值班人"时按告警日期匹配当班人) /// public class DutyRosterEntity : BaseEntity { /// /// 值班日期(当天 00:00:00) /// [SugarColumn(ColumnDescription = "值班日期")] public DateTime DutyDate { get; set; } /// /// 值班人姓名 /// [SugarColumn(ColumnDescription = "值班人", Length = 50)] public string PersonName { get; set; } /// /// 联系电话(用于钉钉/企微 @ 手机号) /// [SugarColumn(ColumnDescription = "联系电话", Length = 30, IsNullable = true)] public string Phone { get; set; } /// /// 备注 /// [SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)] public string Remark { get; set; } } }