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.
441 lines
11 KiB
C#
441 lines
11 KiB
C#
using System;
|
|
using System.Data;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcContainer.Models.MsOpPrice
|
|
{
|
|
|
|
[JsonObject]
|
|
public class OpPrice : ModelObjectBillHead
|
|
{
|
|
#region 私有成员
|
|
private string _GID = Guid.NewGuid().ToString();//业务编号
|
|
private string _PRICETYPE;//
|
|
private string _LINE;//
|
|
private string _COUNTRY;//
|
|
private string _PORTLOAD;//
|
|
private string _PORTDISCHARGE;//
|
|
private string _TRANSPORT;
|
|
private string _CARRIER;
|
|
private string _WEEKETD;
|
|
private string _VOYAGE;//
|
|
private string _VALIDETD;
|
|
private string _SERVICE;
|
|
private string _GOODTYPE;
|
|
private string _CTNSTATUS;
|
|
private string _AGENTNAME;
|
|
private string _AGENTATTN;
|
|
private string _AGENTADDR;
|
|
private string _DEBITCORPNAME;
|
|
private string _PRICEDATE;
|
|
private string _REMARKS;
|
|
private string _INPUTBY;
|
|
private string _INPUTBYREF;
|
|
private string _OP;
|
|
private string _OPREF;
|
|
private string _FEETYPE;
|
|
private string _YARD;
|
|
private string _INPUTTIME;
|
|
private string _COMPANYID;
|
|
private decimal _CHANGERATE = 0;
|
|
|
|
#endregion
|
|
|
|
public OpPrice()
|
|
{
|
|
TableName = "op_price";
|
|
}
|
|
|
|
#region 读写属性
|
|
/// <summary>
|
|
/// 主键唯一值
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PRICETYPE
|
|
{
|
|
get { return _PRICETYPE; }
|
|
set { _PRICETYPE = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string LINE
|
|
{
|
|
get { return _LINE; }
|
|
set { _LINE = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string COUNTRY
|
|
{
|
|
get { return _COUNTRY; }
|
|
set { _COUNTRY = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORTLOAD
|
|
{
|
|
get { return _PORTLOAD; }
|
|
set { _PORTLOAD = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORTDISCHARGE
|
|
{
|
|
get { return _PORTDISCHARGE; }
|
|
set { _PORTDISCHARGE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TRANSPORT
|
|
{
|
|
get { return _TRANSPORT; }
|
|
set { _TRANSPORT = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CARRIER
|
|
{
|
|
get { return _CARRIER; }
|
|
set { _CARRIER = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WEEKETD
|
|
{
|
|
get { return _WEEKETD; }
|
|
set { _WEEKETD = value; }
|
|
}
|
|
[ModelDB]
|
|
public string VOYAGE
|
|
{
|
|
get { return _VOYAGE; }
|
|
set { _VOYAGE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string VALIDETD
|
|
{
|
|
get { return _VALIDETD; }
|
|
set { _VALIDETD = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string SERVICE
|
|
{
|
|
get { return _SERVICE; }
|
|
set { _SERVICE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string GOODTYPE
|
|
{
|
|
get { return _GOODTYPE; }
|
|
set { _GOODTYPE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CTNSTATUS
|
|
{
|
|
get { return _CTNSTATUS; }
|
|
set { _CTNSTATUS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string AGENTNAME
|
|
{
|
|
get { return _AGENTNAME; }
|
|
set { _AGENTNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string AGENTATTN
|
|
{
|
|
get { return _AGENTATTN; }
|
|
set { _AGENTATTN = value; }
|
|
}
|
|
[ModelDB]
|
|
public string AGENTADDR
|
|
{
|
|
get { return _AGENTADDR; }
|
|
set { _AGENTADDR = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string DEBITCORPNAME
|
|
{
|
|
get { return _DEBITCORPNAME; }
|
|
set { _DEBITCORPNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PRICEDATE
|
|
{
|
|
get { return _PRICEDATE; }
|
|
set { _PRICEDATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FEETYPE
|
|
{
|
|
get { return _FEETYPE; }
|
|
set { _FEETYPE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string YARD
|
|
{
|
|
get { return _YARD; }
|
|
set { _YARD = value; }
|
|
}
|
|
|
|
|
|
[ModelDB]
|
|
public string REMARKS
|
|
{
|
|
get { return _REMARKS; }
|
|
set { _REMARKS = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string INPUTBY
|
|
{
|
|
get { return _INPUTBY; }
|
|
set { _INPUTBY = value; }
|
|
}
|
|
public string INPUTBYREF
|
|
{
|
|
get { return _INPUTBYREF; }
|
|
set { _INPUTBYREF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OP
|
|
{
|
|
get { return _OP; }
|
|
set { _OP = value; }
|
|
}
|
|
public string OPREF
|
|
{
|
|
get { return _OPREF; }
|
|
set { _OPREF = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string INPUTTIME
|
|
{
|
|
get { return _INPUTTIME; }
|
|
set { _INPUTTIME = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string COMPANYID
|
|
{
|
|
get { return _COMPANYID; }
|
|
set { _COMPANYID = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal CHANGERATE
|
|
{
|
|
get { return _CHANGERATE; }
|
|
set { _CHANGERATE = value; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
|
|
[JsonObject]
|
|
public class OpPriceItems : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
|
|
private string _GID = Guid.NewGuid().ToString();//业务编号
|
|
private string _LINKGID = "*";
|
|
private int _ITEMSNO = 0;
|
|
private string _FEENAME = "";
|
|
private string _UNIT = "";
|
|
private decimal _UNITPRICE =0;
|
|
private string _CURRENCY = "";
|
|
private decimal _CHANGERATE =0;
|
|
private string _GOODSNAME = "";
|
|
private string _INPUTBY;
|
|
private string _INPUTBYREF;
|
|
private string _INPUTTIME;
|
|
private int _FEESTATUS = 0;
|
|
private string _FEESTATUS_REF = string.Empty;
|
|
private string _auditoperator = String.Empty;
|
|
private string _auditname = String.Empty;
|
|
private string _auditDate = null;
|
|
private string _customerName = String.Empty;
|
|
private string _CTNSTATUS;
|
|
private string _VALIDETD;
|
|
private string _REMARKS;
|
|
private int _FREEDAY = 0;
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string LINKGID
|
|
{
|
|
get { return _LINKGID; }
|
|
set { _LINKGID = value; }
|
|
}
|
|
[ModelDB]
|
|
public int ITEMSNO
|
|
{
|
|
get { return _ITEMSNO; }
|
|
set { _ITEMSNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FEENAME
|
|
{
|
|
get { return _FEENAME; }
|
|
set { _FEENAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string UNIT
|
|
{
|
|
get { return _UNIT; }
|
|
set { _UNIT = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal UNITPRICE
|
|
{
|
|
get { return _UNITPRICE; }
|
|
set { _UNITPRICE = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal CHANGERATE
|
|
{
|
|
get { return _CHANGERATE; }
|
|
set { _CHANGERATE = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string GOODSNAME
|
|
{
|
|
get { return _GOODSNAME; }
|
|
set { _GOODSNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CURRENCY
|
|
{
|
|
get { return _CURRENCY; }
|
|
set { _CURRENCY = value; }
|
|
}
|
|
|
|
|
|
[ModelDB]
|
|
public string REMARKS
|
|
{
|
|
get { return _REMARKS; }
|
|
set { _REMARKS = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string INPUTBY
|
|
{
|
|
get { return _INPUTBY; }
|
|
set { _INPUTBY = value; }
|
|
}
|
|
public string INPUTBYREF
|
|
{
|
|
get { return _INPUTBYREF; }
|
|
set { _INPUTBYREF = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string INPUTTIME
|
|
{
|
|
get { return _INPUTTIME; }
|
|
set { _INPUTTIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public int FEESTATUS
|
|
{
|
|
get { return _FEESTATUS; }
|
|
set { _FEESTATUS = value; }
|
|
}
|
|
|
|
public string FEESTATUS_REF
|
|
{
|
|
get { return _FEESTATUS_REF; }
|
|
set { _FEESTATUS_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customerName; }
|
|
set { _customerName = value; }
|
|
}
|
|
public string AUDITOPERATOR
|
|
{
|
|
get { return _auditoperator; }
|
|
set { _auditoperator = value; }
|
|
}
|
|
|
|
public string AUDITDATE
|
|
{
|
|
get { return _auditDate; }
|
|
set { _auditDate = value; }
|
|
}
|
|
public string AUDITNAME
|
|
{
|
|
get { return _auditname; }
|
|
set { _auditname = value; }
|
|
}
|
|
[ModelDB]
|
|
public string VALIDETD
|
|
{
|
|
get { return _VALIDETD; }
|
|
set { _VALIDETD = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CTNSTATUS
|
|
{
|
|
get { return _CTNSTATUS; }
|
|
set { _CTNSTATUS = value; }
|
|
}
|
|
[ModelDB]
|
|
public int FREEDAY
|
|
{
|
|
get { return _FREEDAY; }
|
|
set { _FREEDAY = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public OpPriceItems()
|
|
{
|
|
TableName = "op_price_items";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class CUSTERNAME
|
|
{
|
|
#region private Fields
|
|
|
|
private string _CUSTNAME = String.Empty;
|
|
private string _FIELDNAME = String.Empty;
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
public string CUSTNAME
|
|
{
|
|
get { return _CUSTNAME; }
|
|
set { _CUSTNAME = value; }
|
|
}
|
|
public string FIELDNAME
|
|
{
|
|
get { return _FIELDNAME; }
|
|
set { _FIELDNAME = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|