You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB
C#

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