using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 时段维护 /// [SugarTable("bas_time_period")] public partial class BasTimePeriod : BaseEntity { public BasTimePeriod() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 时段代码 /// public string tp_code { get; set; } = string.Empty; /// /// 时段名称 /// public string tp_name { get; set; } = string.Empty; /// /// 时段顺序 /// public int? tp_seq { get; set; } /// /// 所属班制ID,BAS_SHIFTTYPE.ID /// public string? shifttype_id { get; set; } /// /// 所属班制代码 /// public string? shifttype_code { get; set; } /// /// 所属班制ID,BAS_SHIFT.ID /// public string? shift_id { get; set; } /// /// 所属班次代码 /// public string? shift_code { get; set; } /// /// 开始时间 /// public string tpb_time { get; set; } = string.Empty; /// /// 结束时间 /// public string tpe_time { get; set; } = string.Empty; /// /// 是否跨天 /// public string? is_overday { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 工作时间 /// public DateTime? worktime { get; set; } /// /// 时间戳(用于并发) /// public string? timestamp { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime? create_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } }