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