using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 班次资料 /// [SugarTable("bas_shift")] public partial class BasShift : BaseEntity { public BasShift() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 班次代码 /// public string shift_code { get; set; } = string.Empty; /// /// 班次名称 /// public string shift_name { get; set; } = string.Empty; /// /// 所属班制ID,BAS_SHIFTTYPE.ID /// public string? shifttype_id { get; set; } /// /// 所属班制代码 /// public string shifttype_code { get; set; } = string.Empty; /// /// 开始时间 /// public string shiftb_time { get; set; } = string.Empty; /// /// 结束时间 /// public string shifte_time { get; set; } = string.Empty; /// /// 是否跨天 /// public string is_overday { get; set; } = string.Empty; /// /// 备注 /// public string? remark { get; set; } /// /// 时间戳(用于并发控制) /// public string? timestamp { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime create_time { get; set; } = DateTime.Now; /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } }