using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace RoadFlow.Data.Model { [Serializable] public class WorkFlowDelegation { /// /// ID /// [DisplayName("ID")] public Guid ID { get; set; } /// /// 委托人 /// [DisplayName("委托人")] public string UserID { get; set; } /// /// 开始时间 /// [DisplayName("开始时间")] public DateTime StartTime { get; set; } /// /// 结束时间 /// [DisplayName("结束时间")] public DateTime EndTime { get; set; } /// /// 委托流程ID,为空表示所有流程 /// [DisplayName("委托流程ID,为空表示所有流程")] public Guid? FlowID { get; set; } /// /// 被委托人 /// [DisplayName("被委托人")] public string ToUserID { get; set; } /// /// 设置时间 /// [DisplayName("设置时间")] public DateTime WriteTime { get; set; } /// /// 备注说明 /// [DisplayName("备注说明")] public string Note { get; set; } } }