using Business.Core.Attributes; using Business.Model; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.Tech { /// /// 工作日历 /// [CollectionName("dopbase", "mes_work_calendar")] public class mes_work_calendar : BaseEntity { ///// ///// 工作日历主键 ///// //[Key] //[Description("工作日历主键")] //public long work_calendar_id { get; set; } /// /// 工作日历编码 /// [StringLength(100)] [Description("工作日历编码")] public string? work_calendar_no { get; set; } /// /// 工作日历名称 /// [StringLength(100)] [Description("工作日历名称")] public string? work_calendar_name { get; set; } /// /// 班制id /// [Description("班制id")] public long? shift_id { get; set; } /// /// 开始时间 /// [Description("开始时间")] public DateTime? start_time { get; set; } /// /// 结束时间 /// [Description("结束时间")] public DateTime? end_time { get; set; } /// /// 标准周期 /// [Description("标准周期")] public int? standard_period { get; set; } /// /// 工作周期 /// [Description("工作周期")] public int? work_period { get; set; } /// /// 休息周期 /// [Description("休息周期")] public int? rest_period { get; set; } /// /// 周1 /// [Description("周1")] public int? calendar1 { get; set; } /// /// 周2 /// [Description("周2")] public int? calendar2 { get; set; } /// /// 周3 /// [Description("周3")] public int? calendar3 { get; set; } /// /// 周4 /// [Description("周4")] public int? calendar4 { get; set; } /// /// 周5 /// [Description("周5")] public int? calendar5 { get; set; } /// /// 周6 /// [Description("周6")] public int? calendar6 { get; set; } /// /// 周7 /// [Description("周7")] public int? calendar7 { get; set; } } }