//------------------------------------------------------------------------------
// 
//     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
// 
//------------------------------------------------------------------------------
using APT.Infrastructure.Core;
using System;
namespace APT.BaseData.Domain.Entities
{
	/// 
	/// 工作流模板信息表
	/// 
	[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;
		}
        /// 
	    /// 流程编号
	    /// 
        public string SchemeCode { get; set; }
        /// 
	    /// 流程名称
	    /// 
        public string SchemeName { get; set; }
        
        /// 
	    /// 流程内容
	    /// 
        public string SchemeContent { get; set; }
        /// 
	    /// 表单ID
	    /// 
        public Guid? FrmId { get; set; }
		/// 
		/// 审核时表单ID
		/// 
		public Guid? PermitFrmId { get; set; }
		/// 
		/// 排序码
		/// 
		public int SortCode { get; set; }
		/// 
		/// 有效 PPFlowSchemeDisabledEnum
		/// 
		public int Disabled { get; set; }
		/// 
		/// 自动送审 0-不启用 1-启用 PPFlowSchemeActiveAutoSendEnum
		/// 
		public int ActiveAutoSend { get; set; }
        /// 
	    /// 备注
	    /// 
        public string Description { get; set; }
        /// 
	    /// 创建时间
	    /// 
        public System.DateTime CreateDate { get; set; }
        /// 
	    /// 创建用户主键
	    /// 
        public string CreateUserId { get; set; }
        /// 
	    /// 创建用户
	    /// 
        public string CreateUserName { get; set; }
        /// 
	    /// 修改时间
	    /// 
        public System.DateTime? ModifyDate { get; set; }
        /// 
	    /// 修改用户主键
	    /// 
        public string ModifyUserId { get; set; }
        /// 
	    /// 修改用户
	    /// 
        public string ModifyUserName { get; set; }
		public virtual T_PF_FORM Form { get; set; }
		public virtual T_PF_FORM PermitForm { get; set; }
	}
}