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; } /// /// 人员ID,BAS_EMPLOYEE.ID /// public string employee_id { get; set; } = string.Empty; /// /// 人员代码 /// public string? employee_code { get; set; } /// /// 是否班组长 /// public int? is_leader { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } }