using System.ComponentModel.DataAnnotations; namespace DS.WMS.Core.TaskPlat.Dtos { /// /// /// public class TaskManageOrderMessageHeadInfo { /// /// 报文惟一主键 /// ///08dabd4e-dcc3-471a-8031-cf066ed0a8f4 public string GID { get; set; } = Guid.NewGuid().ToString(); /// /// 业务主键 /// public long? BSNO { get; set; } /// /// 报文类型 TASK-任务 /// /// TASK [Required(ErrorMessage = "必填")] public string MessageType { get; set; } /// /// 发送方代码 /// /// MAIL_PARSE [Required(ErrorMessage = "必填")] public string SenderId { get; set; } /// /// 发送方名称 /// /// 邮件解析 [Required(ErrorMessage = "必填")] public string SenderName { get; set; } /// /// 接收方代码 /// /// TaskManage [Required(ErrorMessage = "必填")] public string ReceiverId { get; set; } /// /// 接收方名称 /// /// 任务管理平台 [Required(ErrorMessage = "必填")] public string ReceiverName { get; set; } /// /// 请求方登录TOKEN(可以是真实的登录人TOKEN或者是服务模拟登录人TOKEN) /// /// eyJhbGciOiJSUzI1NiIsImtpZCI6IkQ1RTkxMDI5OUU0RURFNUZEM0EwNTJBMEFDRDUzMUQzIiwidHlwIjoiYXQrand0In0 public string Token { get; set; } /// /// 版本号 默认1.0 /// /// 1.0 [Required(ErrorMessage = "必填")] public string Version { get; set; } = "1.0"; /// /// 请求时间 /// /// 2022-12-23 14:29:11 public string RequestDate { get; set; } /// /// 请求授权KEY /// /// testkey public string SenderKey { get; set; } /// /// 请求操作类型 /// /// Add [Required(ErrorMessage = "必填")] public string RequestAction { get; set; } = "Add"; /// /// 大简云用户Id(跨平台传) /// /// testkey public string DJYUserId { get; set; } } }