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_AuditFlow", tableDescription: "审核流程表")]
    public class Sys_AuditFlow : EntityBase
    {
        /// <summary>
        /// 业务ID(领用单ID)
        /// </summary>
        [SugarColumn(ColumnDescription = "业务ID(领用单ID)", IsNullable = true, ColumnDataType = "int")]
        public int BusinessId { get; set; }
        /// <summary>
        /// 业务类型(1-物资领用)
        /// </summary>
        [SugarColumn(ColumnDescription = "业务类型(1-物资领用)", IsNullable = true, ColumnDataType = "int")]
        public int BusinessType { get; set; }
        /// <summary>
        /// 模板ID
        /// </summary>
        [SugarColumn(ColumnDescription = "模板ID", IsNullable = true, ColumnDataType = "int")]
        public int TemplateId { get; set; }
        /// <summary>
        /// 当前节点ID
        /// </summary>
        [SugarColumn(ColumnDescription = "当前节点ID", IsNullable = true, ColumnDataType = "int")]
        public int CurrentNodeId { get; set; }
        /// <summary>
        /// 状态(0-未开始,1-审核中,2-已完成,3-已拒绝)
        /// </summary>
        [SugarColumn(ColumnDescription = "状态(0-未开始,1-审核中,2-已完成,3-已拒绝)", IsNullable = true, ColumnDataType = "int")]
        public int Status { get; set; }
    }
}