using Myshipping.Core; using System; using System.ComponentModel.DataAnnotations; namespace Myshipping.Application { /// /// 箱信息输入参数 /// public class BookingCtnInput : PageInputBase { /// /// 单据ID /// public virtual long BILLID { get; set; } /// /// 箱型 /// public virtual string CTNALL { get; set; } /// /// 箱量 /// public virtual int CTNNUM { get; set; } /// /// TEU /// public virtual int TEU { get; set; } /// /// 箱号 /// public virtual string CNTRNO { get; set; } /// /// 封号 /// public virtual string SEALNO { get; set; } /// /// 件数 /// public virtual int PKGS { get; set; } /// /// 包装 /// public virtual string KINDPKGS { get; set; } /// /// 毛重 /// public virtual decimal KGS { get; set; } /// /// 尺码 /// public virtual decimal CBM { get; set; } /// /// 皮重 /// public virtual decimal TAREWEIGHT { get; set; } /// /// 箱状态 /// public virtual string CTNSTATUS { get; set; } /// /// 称重方式 /// public virtual string WEIGHTYPE { get; set; } /// /// 称重重量 /// public virtual decimal WEIGHKGS { get; set; } /// /// 称重联系人 /// public virtual string WEIGHATTN { get; set; } /// /// VGM联系公司 /// public virtual string VGMCONNCOM { get; set; } /// /// VGM联系电话 /// public virtual string WEIGHTEL { get; set; } /// /// 称重日期 /// public virtual string WEIGHDATE { get; set; } /// /// VGM地址 /// public virtual string VGMADDR { get; set; } /// /// VGM邮箱 /// public virtual string VGMEMAIL { get; set; } /// /// 备注 /// public virtual string REMARK { get; set; } } public class AddBookingCtnInput : BookingCtnInput { } public class DeleteBookingCtnInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } public class UpdateBookingCtnInput : BookingCtnInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } public class QueryeBookingCtnInput : DeleteBookingCtnInput { } }