//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a CodeSmith Template.
//
//     DO NOT MODIFY contents of this file. Changes to this
//     file will be lost if the code is regenerated.
//     Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using APT.Infrastructure.Core;
using System;

namespace APT.BaseData.Domain.Entities
{
	/// <summary>
	/// 工作流模板信息表
	/// </summary>
	[IgnoreT4] public partial class T_PF_FLOW_SCHEME : MesEntityBase
	{
		public T_PF_FLOW_SCHEME()
		{
			this.SchemeCode = string.Empty;
			this.SchemeName = string.Empty;
			this.SchemeContent = string.Empty;
			this.SortCode = 0;
			this.Disabled = 0;
			this.ActiveAutoSend = 0;
			this.Description = string.Empty;
			this.CreateDate = DateTime.Now;
			this.CreateUserId = string.Empty;
			this.CreateUserName = string.Empty;
			this.ModifyDate = DateTime.Now;
			this.ModifyUserId = string.Empty;
			this.ModifyUserName = string.Empty;
		}

        /// <summary>
	    /// 流程编号
	    /// </summary>
        public string SchemeCode { get; set; }
        /// <summary>
	    /// 流程名称
	    /// </summary>
        public string SchemeName { get; set; }
        
        /// <summary>
	    /// 流程内容
	    /// </summary>
        public string SchemeContent { get; set; }
        /// <summary>
	    /// 表单ID
	    /// </summary>
        public Guid? FrmId { get; set; }

		/// <summary>
		/// 审核时表单ID
		/// </summary>
		public Guid? PermitFrmId { get; set; }


		/// <summary>
		/// 排序码
		/// </summary>
		public int SortCode { get; set; }

		/// <summary>
		/// 有效 PPFlowSchemeDisabledEnum
		/// </summary>
		public int Disabled { get; set; }

		/// <summary>
		/// 自动送审 0-不启用 1-启用 PPFlowSchemeActiveAutoSendEnum
		/// </summary>
		public int ActiveAutoSend { get; set; }

        /// <summary>
	    /// 备注
	    /// </summary>
        public string Description { get; set; }
        /// <summary>
	    /// 创建时间
	    /// </summary>
        public System.DateTime CreateDate { get; set; }
        /// <summary>
	    /// 创建用户主键
	    /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
	    /// 创建用户
	    /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
	    /// 修改时间
	    /// </summary>
        public System.DateTime? ModifyDate { get; set; }
        /// <summary>
	    /// 修改用户主键
	    /// </summary>
        public string ModifyUserId { get; set; }
        /// <summary>
	    /// 修改用户
	    /// </summary>
        public string ModifyUserName { get; set; }


		public virtual T_PF_FORM Form { get; set; }

		public virtual T_PF_FORM PermitForm { get; set; }

	}
}