using Myshipping.Core; using System; using System.ComponentModel.DataAnnotations; namespace Myshipping.Application { /// /// 多品名输入参数 /// public class BookingCtnDetailInput { /// /// 集装箱ID /// public virtual long CTNID { 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; } /// /// HS编码 /// public virtual string HSCODE { get; set; } /// /// 唛头 /// public virtual string MARKS { get; set; } /// /// 货描 /// public virtual string DESCRIPTION { get; set; } /// /// 备注 /// public virtual string REMARK { get; set; } } /// /// 多品名新增输入参数 /// public class AddBookingCtnDetailInput : BookingCtnDetailInput { } /// /// 多品名修改输入参数 /// public class UpdateBookingCtnDetailInput : BookingCtnDetailInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// 多品名获取(删除)输入参数 /// public class GetBookingCtnDetailInput { /// /// 主键 /// [Required(ErrorMessage = "主键不能为空")] public long Id { get; set; } } /// /// 多品名查询输入参数 /// public class QueryBookingCtnDetailInput : PageInputBase { /// /// 主键 /// public virtual long Id { get; set; } /// /// 集装箱ID /// public virtual long CTNID { 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; } /// /// HS编码 /// public virtual string HSCODE { get; set; } /// /// 唛头 /// public virtual string MARKS { get; set; } /// /// 货描 /// public virtual string DESCRIPTION { get; set; } /// /// 备注 /// public virtual string REMARK { get; set; } } }