using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 班组与员工关系 /// [SugarTable("bas_workgroup_employee")] public partial class BasWorkgroupEmployee : BaseEntity { public BasWorkgroupEmployee() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 班组ID,BAS_GROUP.ID /// public string group_id { get; set; } = string.Empty; /// /// 班组代码 /// public string group_code { get; set; } = string.Empty; /// /// 人员ID,BAS_EMPLOYEE.ID /// public string employee_id { get; set; } = string.Empty; /// /// 人员代码 /// public string employee_code { get; set; } = string.Empty; /// /// 是否班组长 /// public int? is_leader { 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; } }