using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 休息时段 /// [SugarTable("bas_time_period_rest")] public partial class BasTimePeriodRest : BaseEntity { public BasTimePeriodRest() { 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; /// /// 所属班制ID /// public string? shift_type_id { get; set; } /// /// 所属班制代码 /// public string? shift_type_code { get; set; } /// /// 所属班次ID /// public string? shift_id { get; set; } /// /// 所属班制代码 /// public string? shif_tcode { get; set; } /// /// 时段ID /// public string? time_period_id { get; set; } /// /// 时段代码 /// public string? time_period_code { get; set; } /// /// 开始时间 /// public string tp_b_time { get; set; } = string.Empty; /// /// 结束时间 /// public string tp_e_time { get; set; } = string.Empty; /// /// 备注 /// public string? remark { get; set; } /// /// 时间戳 /// public string? time_stamp { 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; } }