using Myshipping.Core; using System; using System.ComponentModel.DataAnnotations; namespace Myshipping.Application { /// /// 订舱模板输入参数 /// public class BookingTemplateInput { /// /// 标题 /// public string Title { get; set; } /// /// 类型 /// public virtual string Type { get; set; } /// /// 模板内容 /// public virtual string Content { get; set; } /// /// 备注 /// public virtual string Remark { get; set; } /// /// 名称 /// public string NAME { get; set; } /// /// 地址 /// public string ADDR { get; set; } /// /// 国家code /// public string COUNTRY { get; set; } /// /// 国家 /// public string COUNTRYName { get; set; } /// /// 发货人电话 /// public string TEL { get; set; } } /// /// 订舱模板新增输入参数 /// public class AddBookingTemplateInput : BookingTemplateInput { } /// /// 订舱模板修改输入参数 /// public class UpdateBookingTemplateInput: BookingTemplateInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// 订舱模板获取(删除)输入参数 /// public class GetBookingTemplateInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// 订舱模板查询输入参数 /// public class QueryBookingTemplateInput : PageInputBase { /// /// 标题 /// public string Title { get; set; } /// /// 类型 /// public virtual string Type { get; set; } } public class BookingPrintTemplateShareDto { /// /// 业务id /// public long Id { get; set; } /// /// 模板id /// public long TemplateId { get; set; } /// /// 分享用户Id /// public long ShareToId { get; set; } /// /// 分享用户 /// public string ShareToName { get; set; } /// /// 备注 /// public string Remark { get; set; } } }