using APT.BaseData.Domain.Entities;
using APT.Infrastructure.Core;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace APT.BaseData.Domain.ApiModel
{
    public class FlowMode
	{
		[Description("修改人")]
		public Guid? MODIFIER_ID { get; set; }
		[Description("创建人")]
		public Guid? CREATER_ID { get; set; }
		[Description("修改时间")]
		public DateTime? MODIFY_TIME { get; set; }
		[Description("创建时间")]
		public DateTime? CREATE_TIME { get; set; }
		public Guid? FLOW_ID { get; set; }
		[JsonIgnore]
		public dynamic SysParams { get; }
		[Description("送审状态")]
		public int FLOW_SEND_STATUS { get; set; }
		[Description("窗体模板ID")]
		public Guid? FORM_ID { get; set; }
		//
		// 摘要:
		//     EntityOrgTypeEnum
		[Description("实体组织类型")]
		public int ENTITY_ORG_TPYE { get; set; }
		[Description("组织ID")]
		public Guid? ORG_ID { get; set; }
		[Description("逻辑删除")]
		public bool IS_DELETED { get; set; }
		[Description("主键")]
		public Guid? ID { get; set; }
		[Description("审核状态")]
		public int FLOW_STATUS { get; set; }

		/// <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; }

		public virtual T_FM_ORGANIZATION Nav_Org { get; set; }

		public virtual List<T_PF_PARAM> Nav_SysParams { get; set; }
	}
}
