using Business.Model; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.SystemData { /// /// 班制表 /// [Description("班制表")] public class sys_shift: BaseEntity { /// /// 主键id /// [Key] [Description("主键id")] public long shift_id { get; set; } /// /// 班制编码 /// [StringLength(50)] [Description("班制编码")] public string? shift_no { get; set; } /// /// 班制名称 /// [StringLength(255)] [Description("班制名称")] public string? shift_name { get; set; } /// /// 是否跨天 1是 0否 /// [Description("岗位id")] [DefaultValue(false)] public bool is_across { get; set; } /// /// 备注 /// [StringLength(255)] [Description("备注")] public string? remark { get; set; } /// /// 有效时长 /// [Description("有效时长")] public int? validate_hours { get; set; } /// /// 数据状态标识 1启用 0停用 /// [Description("数据状态标识 1启用 0停用")] [DefaultValue(true)] public bool state { get; set; } } }