using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.TaskPlat.Entity { /// /// 任务归属关系表 /// [SugarTable("task_base_allocation", "任务归属关系表")] public class TaskBaseAllocation : BaseModelV2 { /// /// 任务主键 /// [SugarColumn(ColumnDescription = "任务主键", IsNullable = false)] public long TaskId { get; set; } /// /// 所属人员主键 /// [SugarColumn(ColumnDescription = "所属人员主键", IsNullable = false)] public long UserId { get; set; } /// /// 所属人员姓名 /// [SugarColumn(ColumnDescription = "所属人员姓名", IsNullable = false, Length = 255)] public string UserName { get; set; } /// /// 所属机构主键 /// [SugarColumn(ColumnDescription = "所属机构主键", IsNullable = true)] public long? OrgId { get; set; } } }