using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.Import.Models.CRBill { [JsonObject] public class CRBill : ModelObjectBillHead { #region private Fields private string _country = string.Empty; private string _ShipCompanyRef = string.Empty; public string country { get { return _country; } set { _country = value; } } private string _ywtype = ""; public string ywtype { get { return _ywtype; } set { _ywtype = value; } } //以上为联合查询的结果字段,不写回数据库 private string _GId = string.Empty; private string _FEENAME = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _FEETYPEREF = string.Empty; private string _FEESTATUSREF = string.Empty; private string _AMOUNT = string.Empty; private string _ContractNo = string.Empty; private string _HTH = string.Empty; private string _seller = string.Empty; private string _buyer = string.Empty; private string _countryid = string.Empty; private string _creator = string.Empty; private string _Mainstate = string.Empty; private string _MainstateRef = string.Empty; private string _ShipCompany_id = string.Empty; private string _BillNo = string.Empty; private string _Vessel = string.Empty; private string _Voyage = string.Empty; private string _Ex_sailingdate = string.Empty; private string _Sailingdate = string.Empty; private string _ArrivalDate = null; //private decimal _TimeMark = 0; private string _creattime = string.Empty; private string _port = string.Empty; private string _remark = string.Empty; private string _portRef = string.Empty; private string _ACCDATE = string.Empty; private string _ISVOU = string.Empty; private string _VOUCHERNO = string.Empty; [ModelDB(MDBType = ModelDBOprationType.Edit, IsPrimary = true)] public string GId { get { return _GId; } set { _GId = value; } } public string FEENAME { get { return _FEENAME; } set { _FEENAME = value; } } public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } public string FEETYPEREF { get { return _FEETYPEREF; } set { _FEETYPEREF = value; } } public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } } public string AMOUNT { get { return _AMOUNT; } set { _AMOUNT = value; } } public string ContractNo { get { return _ContractNo; } set { _ContractNo = value; } } public string HTH { get { return _HTH; } set { _HTH = value; } } public string seller { get { return _seller; } set { _seller = value; } } public string buyer { get { return _buyer; } set { _buyer = value; } } public string countryid { get { return _countryid; } set { _countryid = value; } } public string creator { get { return _creator; } set { _creator = value; } } public string Mainstate { get { return _Mainstate; } set { _Mainstate = value; } } public string MainstateRef { get { return _MainstateRef; } set { _MainstateRef = value; } } public string ShipCompany_id { get { return _ShipCompany_id; } set { _ShipCompany_id = value; } } public string ShipCompanyRef { get { return _ShipCompanyRef; } set { _ShipCompanyRef = value; } } public string BillNo { get { return _BillNo; } set { _BillNo = value; } } public string Vessel { get { return _Vessel; } set { _Vessel = value; } } public string Voyage { get { return _Voyage; } set { _Voyage = value; } } public String Ex_sailingdate { get { return _Ex_sailingdate; } set { _Ex_sailingdate = value; } } public String Sailingdate { get { return _Sailingdate; } set { _Sailingdate = value; } } public String ArrivalDate { get { return _ArrivalDate; } set { _ArrivalDate = value; } } public string creattime { get { return _creattime; } set { _creattime = value; } } public string port { get { return _port; } set { _port = value; } } public string remark { get { return _remark; } set { _remark = value; } } /// /// ///////////// /// [ModelDB] public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } //[ModelDB] /* public string ContractStatus { get { return _ContractStatus; } set { _ContractStatus = value; } }*/ [ModelDB] public string ISVOU { get { return _ISVOU; } set { _ISVOU = value; } } [ModelDB] public string VOUCHERNO { get { return _VOUCHERNO; } set { _VOUCHERNO = value; } } public string portRef { get { return _portRef; } set { _portRef = value; } } /* public decimal TimeMark { get { return _TimeMark; } set { _TimeMark = value; } }*/ public string AC { get; set; } public string AD { get; set; } public string CR { get; set; } public string DR { get; set; } #endregion public CRBill() { // TableName = "ch_fee"; } public override string GetBillNoFieldName() { return "BSNO"; } public string GetTimeMarkFieldName() { return ""; } } }