using Business.Model; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.SystemData { /// /// 班次表 /// [Description("班次表")] public class sys_schedule: BaseEntity { /// /// 主键id /// [Key] [Description("班次主键id")] public long schedule_id { get; set; } /// /// 班次编码 /// [StringLength(50)] [Description("班次编码")] public string? schedule_no { get; set; } /// /// 班次名称 /// [StringLength(255)] [Description("班次名称")] public string? schedule_name { get; set; } /// /// 起始工作时间 /// [Description("起始工作时间")] public DateTime? schedule_start_time { get; set; } /// /// 结束工作时间 /// [Description("结束工作时间")] public DateTime? schedule_end_time { get; set; } /// /// 是否跨天 1是 0否 /// [Description("是否跨天 1是 0否")] [DefaultValue(false)] public bool is_across { get; set; } /// /// 备注 /// [StringLength(255)] [Description("备注")] public string? remark { get; set; } /// /// 有效时长 /// [Description("有效时长")] public int? validate_hours { get; set; } /// /// 工作时长 /// [Description("工作时长")] public int? work_hours { get; set; } /// /// 数据状态标识 1启用 0停用 /// [Description("数据状态标识 1启用 0停用")] [DefaultValue(true)] public bool state { get; set; } } }