//------------------------------------------------------------------------------ // 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 System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// /// [Table("FlowApprover")] public class FlowApprover : TreeEntity { public FlowApprover() { this.Reason = ""; this.ApproverName = ""; this.InstanceId = ""; this.VerifyComment = ""; this.CascadeId = ""; this.ApproverId = ""; this.ApproveType = 0; this.CreateDate = DateTime.Now; this.CreateUserName = ""; this.ParentId = ""; this.VerifyDate = DateTime.Now; this.Status = 0; this.ActivityId = ""; this.OrderNo = 0; this.CreateUserId = ""; } /// ///加签原因 /// [Description("加签原因")] public string Reason { get; set; } /// ///审批人 /// [Description("审批人")] public string ApproverName { get; set; } /// ///工作流实例Id /// [Description("工作流实例Id")] public string InstanceId { get; set; } /// ///审批意见 /// [Description("审批意见")] public string VerifyComment { get; set; } /// ///审批人ID /// [Description("审批人ID")] public string ApproverId { get; set; } /// ///类型(0顺序,1并行且,2并行或) /// [Description("类型(0顺序,1并行且,2并行或)")] public int ApproveType { get; set; } /// ///加签时间 /// [Description("加签时间")] public DateTime? CreateDate { get; set; } /// ///加签人 /// [Description("加签人")] public string CreateUserName { get; set; } /// ///审批日期 /// [Description("审批日期")] public DateTime? VerifyDate { get; set; } /// ///状态(0未处理,1通过,2未通过,3驳回) /// [Description("状态(0未处理,1通过,2未通过,3驳回)")] public int Status { get; set; } /// ///当前节点ID /// [Description("当前节点ID")] public string ActivityId { get; set; } /// ///顺序号(当类型为0时) /// [Description("顺序号(当类型为0时)")] public int? OrderNo { get; set; } /// ///加签人Id /// [Description("加签人Id")] public string CreateUserId { get; set; } /// ///是否回到加签节点 /// 如果不需要,则加签完成后自动审批完成,否则还需要当前节点审批 /// [Description("是否回到加签节点")] public bool? ReturnToSignNode { get; set; } } }