272 lines
6.5 KiB
C#

using Myshipping.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Application
{
/// <summary>
/// 箱信息输入参数
/// </summary>
public class BookingCtnInput
{
/// <summary>
/// 单据ID
/// </summary>
public virtual long BILLID { get; set; }
/// <summary>
/// 箱型
/// </summary>
public virtual string CTNALL { get; set; }
/// <summary>
/// 箱量
/// </summary>
public virtual int CTNNUM { get; set; }
/// <summary>
/// TEU
/// </summary>
public virtual int TEU { get; set; }
/// <summary>
/// 箱号
/// </summary>
public virtual string CNTRNO { get; set; }
/// <summary>
/// 封号
/// </summary>
public virtual string SEALNO { 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>
/// 皮重
/// </summary>
public virtual decimal TAREWEIGHT { get; set; }
/// <summary>
/// 箱状态
/// </summary>
public virtual string CTNSTATUS { get; set; }
/// <summary>
/// 称重方式
/// </summary>
public virtual string WEIGHTYPE { get; set; }
/// <summary>
/// 称重重量
/// </summary>
public virtual decimal WEIGHKGS { get; set; }
/// <summary>
/// 称重联系人
/// </summary>
public virtual string WEIGHATTN { get; set; }
/// <summary>
/// VGM联系公司
/// </summary>
public virtual string VGMCONNCOM { get; set; }
/// <summary>
/// VGM联系电话
/// </summary>
public virtual string WEIGHTEL { get; set; }
/// <summary>
/// 称重日期
/// </summary>
public virtual string WEIGHDATE { get; set; }
/// <summary>
/// VGM地址
/// </summary>
public virtual string VGMADDR { get; set; }
/// <summary>
/// VGM邮箱
/// </summary>
public virtual string VGMEMAIL { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string REMARK { get; set; }
}
/// <summary>
/// 箱信息新增输入参数
/// </summary>
public class AddBookingCtnInput : BookingCtnInput
{
public List<AddBookingCtnDetailInput> ctnDetailInputs { get; set; }
}
/// <summary>
/// 箱信息修改输入参数
/// </summary>
public class UpdateBookingCtnInput : BookingCtnInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 箱信息获取(删除)输入参数
/// </summary>
public class GetBookingCtnInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 箱信息查询输入参数
/// </summary>
public class QueryBookingCtnInput : PageInputBase
{
/// <summary>
/// 主键
/// </summary>
public virtual long Id { get; set; }
/// <summary>
/// 单据ID
/// </summary>
public virtual long BILLID { get; set; }
/// <summary>
/// 箱型
/// </summary>
public virtual string CTNALL { get; set; }
/// <summary>
/// 箱量
/// </summary>
public virtual int CTNNUM { get; set; }
/// <summary>
/// TEU
/// </summary>
public virtual int TEU { get; set; }
/// <summary>
/// 箱号
/// </summary>
public virtual string CNTRNO { get; set; }
/// <summary>
/// 封号
/// </summary>
public virtual string SEALNO { 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>
/// 皮重
/// </summary>
public virtual decimal TAREWEIGHT { get; set; }
/// <summary>
/// 箱状态
/// </summary>
public virtual string CTNSTATUS { get; set; }
/// <summary>
/// 称重方式
/// </summary>
public virtual string WEIGHTYPE { get; set; }
/// <summary>
/// 称重重量
/// </summary>
public virtual decimal WEIGHKGS { get; set; }
/// <summary>
/// 称重联系人
/// </summary>
public virtual string WEIGHATTN { get; set; }
/// <summary>
/// VGM联系公司
/// </summary>
public virtual string VGMCONNCOM { get; set; }
/// <summary>
/// VGM联系电话
/// </summary>
public virtual string WEIGHTEL { get; set; }
/// <summary>
/// 称重日期
/// </summary>
public virtual string WEIGHDATE { get; set; }
/// <summary>
/// VGM地址
/// </summary>
public virtual string VGMADDR { get; set; }
/// <summary>
/// VGM邮箱
/// </summary>
public virtual string VGMEMAIL { get; set; }
/// <summary>
/// 备注
/// </summary>
public virtual string REMARK { get; set; }
}
}