using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.DB.Models;
|
|
namespace WIDESEA_Model.Models
|
{
|
[SugarTable(nameof(Dt_ApprovalTask), "审批任务表")]
|
public class Dt_ApprovalTask : BaseEntity
|
{
|
/// <summary>
|
/// 审批任务编号,主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "审批任务编号,主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 审批流程编号,外键
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "审批流程编号,外键")]
|
public int FlowId { get; set; }
|
|
/// <summary>
|
/// 审批节点编号,外键
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "审批节点编号,外键")]
|
public int NodeId { get; set; }
|
|
/// <summary>
|
/// 申请人用户编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "申请人用户编号")]
|
public int ApplicantUserId { get; set; }
|
|
/// <summary>
|
/// 申请人用户名称
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "申请人用户名称")]
|
public string ApplicantUserName { get; set; }
|
|
/// <summary>
|
/// 任务状态(如待审批、已审批、已驳回等)
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "任务状态(如待审批、已审批、已驳回等)")]
|
public int Status { get; set; }
|
|
/// <summary>
|
/// 审批意见内容
|
/// </summary>
|
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "审批意见内容")]
|
public string OpinionContent { get; set; }
|
|
/// <summary>
|
/// 审批人
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "审批人")]
|
public string AuditUser { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "")]
|
public int SourceKey { get; set; }
|
}
|
}
|