using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Entities.System
{
///
/// 审核记录表
///
[SugarTable(tableName: "Sys_AuditRecord", tableDescription: "审核记录表")]
public class Sys_AuditRecord : EntityBase
{
///
/// 流程ID
///
[SugarColumn(ColumnDescription = "流程ID", IsNullable = true, ColumnDataType = "int")]
public int FlowId { get; set; }
///
/// 节点ID
///
[SugarColumn(ColumnDescription = "节点ID", IsNullable = true, ColumnDataType = "int")]
public int NodeId { get; set; }
///
/// 节点名称
///
[SugarColumn(ColumnDescription = "节点名称", IsNullable = true, ColumnDataType = "varchar(50)")]
public string NodeName { get; set; }
///
/// 审核人ID
///
[SugarColumn(ColumnDescription = "审核人ID", IsNullable = true, ColumnDataType = "int")]
public int AuditorId { get; set; }
///
/// 审核人姓名
///
[SugarColumn(ColumnDescription = "审核人姓名", IsNullable = true, ColumnDataType = "varchar(50)")]
public string AuditorName { get; set; }
///
/// 审核结果(0-待审核,1-通过,2-拒绝,3-无需处理)
///
[SugarColumn(ColumnDescription = "审核结果(0-待审核,1-通过,2-拒绝,3-无需处理)", IsNullable = true, ColumnDataType = "int")]
public int AuditResult { get; set; }
///
/// 审核时间
///
[SugarColumn(ColumnDescription = "审核时间", IsNullable = true, ColumnDataType = "datetime")]
public DateTime AuditTime { get; set; }
///
/// 审核意见
///
[SugarColumn(ColumnDescription = "审核意见", IsNullable = true, ColumnDataType = "varchar(200)")]
public string AuditOpinion { get; set; }
}
}