using System; using System.ComponentModel.DataAnnotations; using Myshipping.Core; namespace Myshipping.Application { /// /// 入货通知输入参数 /// public class BookingLetteryardInput { /// /// 订舱ID /// public virtual long BookingId { get; set; } /// /// TO /// public virtual string ToName { get; set; } /// /// ATTN /// public virtual string Attn { get; set; } /// /// ATTN电话 /// public virtual string AttnTel { get; set; } /// /// ATTN邮箱 /// public virtual string AttnMail { get; set; } /// /// FROM /// public virtual string FromName { get; set; } /// /// FROM电话 /// public virtual string FromTel { get; set; } /// /// FROM邮箱 /// public virtual string FromMail { get; set; } /// /// 描述 /// public virtual string Description { get; set; } /// /// 截单时间 /// public virtual DateTime? CloseDocTime { get; set; } /// /// 截港时间 /// public virtual DateTime? ClosingTime { get; set; } /// /// 截VGM时间 /// public virtual DateTime? VgmTime { get; set; } /// /// 备注 /// public virtual string Remark { get; set; } } /// /// 入货通知新增输入参数 /// public class AddBookingLetteryardInput : BookingLetteryardInput { } /// /// 入货通知修改输入参数 /// public class UpdateBookingLetteryardInput : BookingLetteryardInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } /// /// 入货通知修改输入参数 /// public class UpdateBookingLetteryardOutput : BookingLetteryardInput { /// /// 主键Id /// public long Id { get; set; } /// /// 链接信息 /// public BookingOrderUrlLetterYardOutput OrderUrl { get; set; } } public class BookingOrderUrlLetterYardOutput { /// /// 提箱小票链接 /// public string UrlTxxp { get; set; } /// /// VGM链接 /// public string UrlVgm { get; set; } /// /// VGM&SI链接 /// public string UrlVgmSi { get; set; } } }