using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Entities.PersonnelModule
{
///
/// 人事 任务单
/// 任务分配
///
[SugarTable("Pm_TaskAllocation")]
public class Pm_TaskAllocation: EntityBase
{
///
/// 团组ID(没有团组为-1)
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int DiId { get; set; }
///
/// 任务归属部门ID
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int DepId { get; set; }
///
/// 任务名称
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
public string? TaskName { get; set; }
///
/// 任务内容
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
public string? TaskContent { get; set; }
///
/// 任务优先级 1 2 3 4
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int TaskPriority { get; set; }
///
/// 任务预计开始时间(由发布者设置开始时间)
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
public string? PredictBeginTime { get; set; }
///
/// 任务预计结束时间(由发布者设置结束时间)
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
public string? PredictEndTime { get; set; }
///
/// 0 否 1 是
/// 发布者确认任务是否完成(员工任务完成时间小于或等于有效时间 默认完成)
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsComplete { get; set; }
///
/// 0 否 1 是
/// 是否纳入绩效考核
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsIntoPerformance { get; set; }
}
}