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