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.
430 lines
9.3 KiB
C#
430 lines
9.3 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpPrice
|
|
{
|
|
[JsonObject]
|
|
public class MsOpPrice : ModelObjectBillHead
|
|
{
|
|
#region 属性
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID { get; set; }
|
|
|
|
/// 业务唯一编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string BILLNO { get; set; }
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public int BILLSTATUS { get; set; }
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string PGID { get; set; }
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string PRICETYPE { get; set; }
|
|
|
|
|
|
public string BILLSTATUSREF { get; set; }
|
|
|
|
public int SELLSTATUS { get; set; }
|
|
|
|
public string SELLSTATUSREF { get; set; }
|
|
|
|
|
|
private string _custno = "";
|
|
/// <summary>
|
|
/// 委托编号(可以根据规则生成)
|
|
/// </summary>
|
|
|
|
[ModelDB]
|
|
public string CUSTNO
|
|
{
|
|
get { return _custno; }
|
|
set { _custno = value; }
|
|
}
|
|
|
|
|
|
|
|
private string _contractno = "";
|
|
/// <summary>
|
|
/// 合同号
|
|
/// </summary>
|
|
|
|
[ModelDB]
|
|
public string CONTRACTNO
|
|
{
|
|
get { return _contractno; }
|
|
set { _contractno = value; }
|
|
}
|
|
|
|
private string _customername = "";
|
|
/// <summary>
|
|
/// 委托单位
|
|
/// </summary>
|
|
|
|
[ModelDB]
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customername; }
|
|
set { _customername = value; }
|
|
}
|
|
|
|
|
|
|
|
private string _sale = "";
|
|
/// <summary>
|
|
/// 揽货人
|
|
/// </summary>
|
|
|
|
[ModelDB]
|
|
public string SALE
|
|
{
|
|
get { return _sale; }
|
|
set { _sale = value; }
|
|
}
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
/// <summary>
|
|
/// 分公司代码
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string CORPID
|
|
{
|
|
get { return _corpid; }
|
|
set { _corpid = value; }
|
|
}
|
|
|
|
|
|
private string _etd;
|
|
/// <summary>
|
|
/// 业务日期(到港/开船日期)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ETD
|
|
{
|
|
get { return _etd; }
|
|
set { _etd = value; }
|
|
}
|
|
|
|
private string _portload = "";
|
|
/// <summary>
|
|
/// 装货地
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PORTLOAD
|
|
{
|
|
get { return _portload; }
|
|
set { _portload = value; }
|
|
}
|
|
|
|
private string _portdischarge = "";
|
|
/// <summary>
|
|
/// 卸货地
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PORTDISCHARGE
|
|
{
|
|
get { return _portdischarge; }
|
|
set { _portdischarge = value; }
|
|
}
|
|
|
|
|
|
|
|
private string _goodsname = "";
|
|
/// <summary>
|
|
/// 品名
|
|
/// </summary>
|
|
public string GOODSNAME
|
|
{
|
|
get { return _goodsname; }
|
|
set { _goodsname = value; }
|
|
}
|
|
|
|
|
|
|
|
[ModelDB]
|
|
public string CARRIER { get; set; }
|
|
|
|
[ModelDB]
|
|
public string FORWARDER { get; set; }
|
|
[ModelDB]
|
|
public string PQENDDATE { get; set; }
|
|
|
|
[ModelDB]
|
|
public string VIA { get; set; }
|
|
|
|
|
|
[ModelDB]
|
|
public string TT { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal TTLFREIGHT { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal RMBOT { get; set; }
|
|
|
|
|
|
[ModelDB]
|
|
public decimal USDOT { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal OTHEROT { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal SELLTTLFREIGHT { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal SELLRMBOT { get; set; }
|
|
|
|
|
|
[ModelDB]
|
|
public decimal SELLUSDOT { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal SELLOTHEROT { get; set; }
|
|
|
|
|
|
[ModelDB]
|
|
public string EFFECTIVEDATE { get; set; }
|
|
|
|
[ModelDB]
|
|
public string VALIDDATE { get; set; }
|
|
|
|
|
|
|
|
private string _remark = "";
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
|
|
private string _createuser = "";
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string CREATEUSER
|
|
{
|
|
get { return _createuser; }
|
|
set { _createuser = value; }
|
|
}
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public DateTime CREATETIME
|
|
{
|
|
get { return _createtime; }
|
|
set { _createtime = value; }
|
|
}
|
|
|
|
private string _modifieduser = "";
|
|
/// <summary>
|
|
/// 最后一次操作人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _modifieduser; }
|
|
set { _modifieduser = value; }
|
|
}
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
/// <summary>
|
|
/// 最后一次操作时间
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime MODIFIEDTIME
|
|
{
|
|
get { return _modifiedtime; }
|
|
set { _modifiedtime = value; }
|
|
}
|
|
|
|
|
|
|
|
private string _ORDERNO = "";
|
|
/// <summary>
|
|
/// 订舱编号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ORDNO
|
|
{
|
|
get { return _ORDERNO; }
|
|
set { _ORDERNO = value; }
|
|
}
|
|
public string AUDITREMARK { get; set; }
|
|
|
|
public string SELLUSER { get; set; }
|
|
|
|
public DateTime SELLTIME { get; set; }
|
|
[ModelDB]
|
|
public string SELLREMARK { get; set; }
|
|
|
|
private string _pkgs = "0";
|
|
/// <summary>
|
|
/// 件数
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string 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; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string TRADETERM { get; set; }
|
|
[ModelDB]
|
|
public string ORDERREMARK { get; set; }
|
|
|
|
[ModelDB]
|
|
public string NEWCUSTOMERNAME { get; set; }
|
|
|
|
[ModelDB]
|
|
public string RMBPR { get; set; }
|
|
|
|
[ModelDB]
|
|
public string USDPR { get; set; }
|
|
|
|
[ModelDB]
|
|
public string OTPR { get; set; }
|
|
|
|
[ModelDB]
|
|
public string TTLPR { get; set; }
|
|
|
|
#endregion
|
|
|
|
public MsOpPrice()
|
|
{
|
|
TableName = "op_price";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class MsOpPriceOther : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
public string ID { get; set; }
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string BSNO { get; set; }
|
|
[ModelDB]
|
|
public int SEQUENCE { get; set; }
|
|
[ModelDB]
|
|
public string FEENAME { get; set; }
|
|
[ModelDB]
|
|
public string CURRENCY { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal AMOUNT { get; set; }
|
|
[ModelDB]
|
|
public decimal UNITPRICE { get; set; }
|
|
[ModelDB]
|
|
public decimal QUANTITY { get; set; }
|
|
|
|
|
|
[ModelDB]
|
|
public string UNIT { get; set; }
|
|
|
|
[ModelDB]
|
|
public string REMARK { get; set; }
|
|
|
|
#endregion
|
|
|
|
public MsOpPriceOther()
|
|
{
|
|
TableName = "op_price_other";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class MsOpPriceFreight : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
public string ID { get; set; }
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string BSNO { get; set; }
|
|
[ModelDB]
|
|
public string CTNALL { get; set; }
|
|
[ModelDB]
|
|
public int CTNNUM { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal PRICE { get; set; }
|
|
|
|
[ModelDB]
|
|
public decimal SELLPRICE { get; set; }
|
|
|
|
[ModelDB]
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
|
#endregion
|
|
|
|
public MsOpPriceFreight()
|
|
{
|
|
TableName = "op_price_freight";
|
|
}
|
|
}
|
|
|
|
}
|