using System.Runtime.Serialization; using DS.Module.Core; using DS.WMS.Core.Fee.Dtos; namespace DS.WMS.Core.Op.Dtos.TaskInteraction { /// /// 任务审核请求 /// public class TaskAuditRequest : AuditRequest { /// /// 任务类型名称 /// public string TaskTypeName { get; set; } = TaskBaseTypeEnum.NOT_SPECIFIED.ToString(); /// /// 任务类型 /// [IgnoreDataMember] public TaskBaseTypeEnum TaskType => string.IsNullOrEmpty(TaskTypeName) ? TaskBaseTypeEnum.NOT_SPECIFIED : Enum.Parse(TaskTypeName); } }