You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/MvcShipping/Models/MsOpSubSeaOrder/MsOpSubSeaArrival.cs

519 lines
11 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpSubSeaOrder
{
[JsonObject]
public class MsOpSubSeaArrival : ModelObjectBillHead
{
#region 读写属性
private string _bsno ="*";
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _bsno; }
set { _bsno = value; }
}
private string _ordno ="";
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string ORDNO
{
get { return _ordno; }
set { _ordno = value; }
}
private DateTime _bsdate = DateTime.Now;
/// <summary>
/// 接单日期
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime BSDATE
{
get { return _bsdate; }
set { _bsdate = value; }
}
private string _mblno = "";
/// <summary>
/// 主提单号
/// </summary>
[ModelDB]
public string MBLNO
{
get{ return _mblno; }
set{ _mblno = value; }
}
private string _hblno = "";
/// <summary>
/// 分提单号
/// </summary>
[ModelDB]
public string HBLNO
{
get { return _hblno; }
set { _hblno = value; }
}
private string _refno = "";
/// <summary>
/// 分提单号
/// </summary>
[ModelDB]
public string REFNO
{
get { return _refno; }
set { _refno = value; }
}
private string _consignee = "";
/// <summary>
/// 收货人内容
/// </summary>
[ModelDB]
public string MESSRS
{
get { return _consignee; }
set { _consignee = value; }
}
private string _vessel = "";
/// <summary>
/// 船名
/// </summary>
[ModelDB]
public string VESSEL
{
get { return _vessel; }
set { _vessel = value; }
}
private string _voyno = "";
/// <summary>
/// 航次
/// </summary>
[ModelDB]
public string VOYNO
{
get { return _voyno; }
set { _voyno = value; }
}
private string _etd;
/// <summary>
/// 开船日期
/// </summary>
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _eta;
[ModelDB]
public string ETA
{
get { return _eta; }
set { _eta = value; }
}
private string _freetime;
[ModelDB]
public string FREETIME
{
get { return _freetime; }
set { _freetime = value; }
}
private string _placereceipt = "";
/// <summary>
/// 收货地
/// </summary>
[ModelDB]
public string PlACERECEIPT
{
get { return _placereceipt; }
set { _placereceipt = value; }
}
private string _portloadid = "";
/// <summary>
/// 装货港代码
/// </summary>
[ModelDB]
public string PORTLOADID
{
get { return _portloadid; }
set { _portloadid = value; }
}
private string _portload = "";
/// <summary>
/// 装货港
/// </summary>
[ModelDB]
public string PORTLOAD
{
get { return _portload; }
set { _portload = value; }
}
private string _portdischargeid = "";
/// <summary>
/// 卸货港代码
/// </summary>
[ModelDB]
public string PORTDISCHARGEID
{
get { return _portdischargeid; }
set { _portdischargeid = value; }
}
private string _portdischarge = "";
/// <summary>
/// 卸货港
/// </summary>
[ModelDB]
public string PORTDISCHARGE
{
get { return _portdischarge; }
set { _portdischarge = value; }
}
private string _placedeliveryid = "";
/// <summary>
/// 交货地代码
/// </summary>
[ModelDB]
public string PLACEDELIVERYID
{
get { return _placedeliveryid; }
set { _placedeliveryid = value; }
}
private string _placedelivery = "";
/// <summary>
/// 交货地
/// </summary>
[ModelDB]
public string PLACEDELIVERY
{
get { return _placedelivery; }
set { _placedelivery = value; }
}
private string _officeaddr = "";
/// <summary>
/// 办公
/// </summary>
[ModelDB]
public string OFFICEADDR
{
get { return _officeaddr; }
set { _officeaddr = value; }
}
private string _doaddr = "";
/// <summary>
/// 办公
/// </summary>
[ModelDB]
public string DOADDR
{
get { return _doaddr; }
set { _doaddr = value; }
}
private string _issuetype = "";
/// <summary>
/// 签单方式
/// </summary>
[ModelDB]
public string ISSUETYPE
{
get { return _issuetype; }
set { _issuetype = value; }
}
private string _blfrt = "FREIGHT PREPAID";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string BLFRT
{
get { return _blfrt; }
set { _blfrt = value; }
}
private string _service = "CY-CY";
/// <summary>
/// 运输条款
/// </summary>
[ModelDB]
public string SERVICE
{
get { return _service; }
set { _service = value; }
}
private string _marks = "";
/// <summary>
/// 唛头
/// </summary>
[ModelDB]
public string MARKS
{
get { return _marks; }
set { _marks = value; }
}
private string _nopkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string NOPKGS
{
get { return _nopkgs; }
set { _nopkgs = value; }
}
private string _description = "";
/// <summary>
/// 货物描述
/// </summary>
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
private string _grossweight = "";
/// <summary>
/// 货物毛重
/// </summary>
[ModelDB]
public string GROSSWEIGHT
{
get { return _grossweight; }
set { _grossweight = value; }
}
private string _measurement = "";
/// <summary>
/// 货物尺码
/// </summary>
[ModelDB]
public string MEASUREMENT
{
get { return _measurement; }
set { _measurement = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private string _cbm ="0";
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public string CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _kgs ="0";
/// <summary>
/// 毛重
/// </summary>
[ModelDB]
public string KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private string _totalno = "";
/// <summary>
/// 件数大写
/// </summary>
[ModelDB]
public string TOTALNO
{
get { return _totalno; }
set { _totalno = value; }
}
private string _cntrtotal = "";
/// <summary>
/// 集装箱全部内容
/// </summary>
[ModelDB]
public string CNTRTOTAL
{
get { return _cntrtotal; }
set { _cntrtotal = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB]
public string INPUTBY
{
get{ return _inputby; }
set{ _inputby = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private decimal _amountusd = 0;
public decimal AMOUNTUSD
{
get { return _amountusd; }
set { _amountusd = value; }
}
private decimal _amountjpy = 0;
public decimal AMOUNTJPY
{
get { return _amountjpy; }
set { _amountjpy = value; }
}
private int _markcount = 0;
/// <summary>
/// 唛头行数
/// </summary>
[ModelDB]
public int MARKCOUNT
{
get { return _markcount; }
set { _markcount = value; }
}
#endregion
public MsOpSubSeaArrival()
{
TableName = "op_sub_seaorder_arrival";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class MsOpSubSeaArrivalYard : ModelObjectBillHead
{
#region 读写属性
private string _gid = "*";
/// <summary>
/// 编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _yardcode = "";
/// <summary>
/// 表现形式
/// </summary>
[ModelDB]
public string YARDCODE
{
get { return _yardcode; }
set { _yardcode = value; }
}
private string _DESCRIP = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string DESCRIP
{
get { return _DESCRIP; }
set { _DESCRIP = value; }
}
#endregion
public MsOpSubSeaArrivalYard()
{
TableName = "op_sub_seaorder_arrival_yard";
}
}
//
}