using Edu.Common.Enum.User;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.User
{

    /// <summary>
    /// rb_workflow_template Entity
    /// </summary> 
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class Rb_Workflow_Template
    {

        /// <summary>
        /// Id
        /// </summary>        
        public int Id
        {
            get;
            set;
        }
        /// <summary>
        /// 流程名称
        /// </summary>        
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// 1正常  2 停用    3删除-->add by:2018-08-23 财务自定义 
        /// </summary>        
        public int? Status
        {
            get;
            set;
        }
        /// <summary>
        /// 分组类型 1出勤休假
        /// </summary>        
        public WFTGroupTypeEnum? GroupType
        {
            get;
            set;
        }
        /// <summary>
        /// 所属集团
        /// </summary>        
        public int? RB_GroupId
        {
            get;
            set;
        }
        /// <summary>
        /// 所属公司
        /// </summary>        
        public int? RB_BranchId
        {
            get;
            set;
        }
        /// <summary>
        /// CreateBy
        /// </summary>        
        public int? CreateBy
        {
            get;
            set;
        }
        /// <summary>
        /// CreateTime
        /// </summary>        
        public DateTime? CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// UpdateBy
        /// </summary>        
        public int? UpdateBy
        {
            get;
            set;
        }
        /// <summary>
        /// UpdateTime
        /// </summary>        
        public DateTime? UpdateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 1请假  2出差  3  外出  4  补卡 5-收款流程  6- 付款流程 7-发票流程
        /// </summary>        
        public WFTTemplateTypeEnum? TemplateType
        {
            get;
            set;
        }
        /// <summary>
        /// 1 不启用自动去重  2同一个审批人在流程中出现多次时，仅保留第一个 3同一个审批人在流程中出现多次时，仅保留最后一个  4同一个审批人仅在连续出现时，自动去重
        /// </summary>        
        public int? AuditDistinct
        {
            get;
            set;
        }
        /// <summary>
        /// 1 仅全部同意后通知 2仅发起时通知  3发起时和全部同意后均通知
        /// </summary>        
        public int? NotificationCP
        {
            get;
            set;
        }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 类型 1-OA，2-财务
        /// </summary>
        public int? Type { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string DescribeInfo { get; set; }
        /// <summary>
        /// 1-收入2-支出
        /// </summary>
        public int? TempLateClass { get; set; }
    }
}