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.
760 lines
17 KiB
C#
760 lines
17 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpSubSeaOrder
|
|
{
|
|
[JsonObject]
|
|
public class MsOpSubSeaOrder : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _bsno = Guid.NewGuid().ToString();
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string BSNO
|
|
{
|
|
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 string _companyid ="";
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string COMPANYID
|
|
{
|
|
get { return _companyid; }
|
|
set { _companyid = value; }
|
|
}
|
|
|
|
private string _company = "";
|
|
|
|
public string COMPANY
|
|
{
|
|
get { return _company; }
|
|
set { _company = value; }
|
|
}
|
|
|
|
private int _billtype =1;
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public int BILLTYPE
|
|
{
|
|
get { return _billtype; }
|
|
set { _billtype = value; }
|
|
}
|
|
|
|
|
|
private int _ortype = 1;
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public int ORTYPE
|
|
{
|
|
get { return _ortype; }
|
|
set { _ortype = value; }
|
|
}
|
|
|
|
private string _ORSTATUS = "9";
|
|
/// <summary>
|
|
/// 订舱状态
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ORSTATUS
|
|
{
|
|
get { return _ORSTATUS; }
|
|
set { _ORSTATUS = value; }
|
|
}
|
|
|
|
private string _ORSTATUSREF = "录入状态";
|
|
/// <summary>
|
|
/// 订舱状态
|
|
/// </summary>
|
|
public string ORSTATUSREF
|
|
{
|
|
get { return _ORSTATUSREF; }
|
|
set { _ORSTATUSREF = value; }
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ORREASON = "";
|
|
/// <summary>
|
|
/// 驳回原因
|
|
/// </summary>
|
|
public string ORREASON
|
|
{
|
|
get { return _ORREASON; }
|
|
set { _ORREASON = 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 _customername = "";
|
|
/// <summary>
|
|
/// 委托单位
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customername; }
|
|
set { _customername = value; }
|
|
}
|
|
|
|
private string _shipper = "";
|
|
/// <summary>
|
|
/// 发货人内容
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string SHIPPER
|
|
{
|
|
get { return _shipper; }
|
|
set { _shipper = value; }
|
|
}
|
|
private string _consignee = "";
|
|
/// <summary>
|
|
/// 收货人内容
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CONSIGNEE
|
|
{
|
|
get { return _consignee; }
|
|
set { _consignee = value; }
|
|
}
|
|
|
|
private string _notifyparty = "";
|
|
/// <summary>
|
|
/// 通知人内容
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string NOTIFYPARTY
|
|
{
|
|
get { return _notifyparty; }
|
|
set { _notifyparty = 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 _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 _destinationid = "";
|
|
/// <summary>
|
|
/// 目的地代码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DESTINATIONID
|
|
{
|
|
get { return _destinationid; }
|
|
set { _destinationid = value; }
|
|
}
|
|
|
|
private string _destination = "";
|
|
/// <summary>
|
|
/// 目的地
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DESTINATION
|
|
{
|
|
get { return _destination; }
|
|
set { _destination = value; }
|
|
}
|
|
|
|
|
|
private string _nobill = "";
|
|
/// <summary>
|
|
/// 提单份数
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string NOBILL
|
|
{
|
|
get { return _nobill; }
|
|
set { _nobill = value; }
|
|
}
|
|
|
|
private string _issuetype = "";
|
|
/// <summary>
|
|
/// 签单方式
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ISSUETYPE
|
|
{
|
|
get { return _issuetype; }
|
|
set { _issuetype = value; }
|
|
}
|
|
|
|
private string _issuedate;
|
|
/// <summary>
|
|
/// 签单日期
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ISSUEDATE
|
|
{
|
|
get { return _issuedate; }
|
|
set { _issuedate = value; }
|
|
}
|
|
|
|
private string _issueplace = "";
|
|
/// <summary>
|
|
/// 签单地点
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ISSUEPLACE
|
|
{
|
|
get { return _issueplace; }
|
|
set { _issueplace = value; }
|
|
}
|
|
|
|
private string _bltype = "整箱";
|
|
/// <summary>
|
|
/// 装运方式
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string BLTYPE
|
|
{
|
|
get { return _bltype; }
|
|
set { _bltype = value; }
|
|
}
|
|
|
|
private string _blfrt = "FREIGHT PREPAID";
|
|
/// <summary>
|
|
/// 付费方式
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string BLFRT
|
|
{
|
|
get { return _blfrt; }
|
|
set { _blfrt = value; }
|
|
}
|
|
|
|
private string _prepardat = "";
|
|
/// <summary>
|
|
/// 预付地点
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PREPARDAT
|
|
{
|
|
get { return _prepardat; }
|
|
set { _prepardat = value; }
|
|
}
|
|
|
|
private string _payableat = "";
|
|
/// <summary>
|
|
/// 到付地点
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PAYABLEAT
|
|
{
|
|
get { return _payableat; }
|
|
set { _payableat = 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 decimal _pkgs = 0;
|
|
/// <summary>
|
|
/// 件数
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal PKGS
|
|
{
|
|
get { return _pkgs; }
|
|
set { _pkgs = value; }
|
|
}
|
|
|
|
private string _kindpkgs = "";
|
|
/// <summary>
|
|
/// 件数包装
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string KINDPKGS
|
|
{
|
|
get { return _kindpkgs; }
|
|
set { _kindpkgs = value; }
|
|
}
|
|
|
|
private decimal _cbm = 0;
|
|
/// <summary>
|
|
/// 立方数/尺码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal CBM
|
|
{
|
|
get { return _cbm; }
|
|
set { _cbm = value; }
|
|
}
|
|
|
|
private decimal _kgs = 0;
|
|
/// <summary>
|
|
/// 毛重
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal 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 _GOODSNAME = "";
|
|
|
|
[ModelDB]
|
|
public string GOODSNAME
|
|
{
|
|
get { return _GOODSNAME; }
|
|
set { _GOODSNAME = value; }
|
|
}
|
|
|
|
|
|
|
|
private string _inputby = "";
|
|
/// <summary>
|
|
/// 录入人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string INPUTBY
|
|
{
|
|
get{ return _inputby; }
|
|
set{ _inputby = value; }
|
|
}
|
|
|
|
|
|
private string _cargoid = "";
|
|
/// <summary>
|
|
/// 货物标识
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CARGOID
|
|
{
|
|
get { return _cargoid; }
|
|
set { _cargoid = value; }
|
|
}
|
|
|
|
private string _dclass = "";
|
|
/// <summary>
|
|
/// 危险品分类/等级
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DCLASS
|
|
{
|
|
get { return _dclass; }
|
|
set { _dclass = value; }
|
|
}
|
|
|
|
private string _dunno = "";
|
|
/// <summary>
|
|
/// 危险品编号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DUNNO
|
|
{
|
|
get { return _dunno; }
|
|
set { _dunno = value; }
|
|
}
|
|
|
|
private string _dpage = "";
|
|
/// <summary>
|
|
/// 危险品页号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DPAGE
|
|
{
|
|
get { return _dpage; }
|
|
set { _dpage = value; }
|
|
}
|
|
|
|
private string _dlabel = "";
|
|
/// <summary>
|
|
/// 危险品标签
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DLABEL
|
|
{
|
|
get { return _dlabel; }
|
|
set { _dlabel = value; }
|
|
}
|
|
|
|
private string _linkman = "";
|
|
/// <summary>
|
|
/// 危险品联系人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string LINKMAN
|
|
{
|
|
get { return _linkman; }
|
|
set { _linkman = value; }
|
|
}
|
|
|
|
|
|
private string _reeferf = "";
|
|
/// <summary>
|
|
/// 冷藏通风量
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string REEFERF
|
|
{
|
|
get { return _reeferf; }
|
|
set { _reeferf = value; }
|
|
}
|
|
|
|
private string _tempid = "";
|
|
/// <summary>
|
|
/// 温度单位
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string TEMPID
|
|
{
|
|
get { return _tempid; }
|
|
set { _tempid = value; }
|
|
}
|
|
|
|
private string _tempset = "";
|
|
/// <summary>
|
|
/// 设置温度
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string TEMPSET
|
|
{
|
|
get { return _tempset; }
|
|
set { _tempset = value; }
|
|
}
|
|
|
|
private string _tempmax = "";
|
|
/// <summary>
|
|
/// 最高温度
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string TEMPMAX
|
|
{
|
|
get { return _tempmax; }
|
|
set { _tempmax = value; }
|
|
}
|
|
|
|
private string _tempmin = "";
|
|
/// <summary>
|
|
/// 最低温度
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string TEMPMIN
|
|
{
|
|
get { return _tempmin; }
|
|
set { _tempmin = value; }
|
|
}
|
|
|
|
|
|
private string _remark = "";
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _AUDITOPERATOR = "";
|
|
|
|
|
|
public string AUDITOPERATOR
|
|
{
|
|
get { return _AUDITOPERATOR; }
|
|
set { _AUDITOPERATOR = value; }
|
|
}
|
|
|
|
|
|
|
|
private string _AUDITDATE ="";
|
|
public string AUDITDATE
|
|
{
|
|
get { return _AUDITDATE; }
|
|
set { _AUDITDATE = value; }
|
|
}
|
|
|
|
private string _agentid = "";
|
|
/// <summary>
|
|
/// 卸货代理
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string AGENTID
|
|
{
|
|
get { return _agentid; }
|
|
set { _agentid = value; }
|
|
}
|
|
|
|
private string _agent = "";
|
|
|
|
public string AGENT
|
|
{
|
|
get { return _agent; }
|
|
set { _agent = value; }
|
|
}
|
|
|
|
private bool _spcharge = false;
|
|
/// <summary>
|
|
/// 特殊费用
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool SPCHARGE
|
|
{
|
|
get { return _spcharge; }
|
|
set { _spcharge = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public MsOpSubSeaOrder()
|
|
{
|
|
TableName = "op_sub_seaorder";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "BSNO";
|
|
}
|
|
}
|
|
//
|
|
}
|