using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

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