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.

665 lines
18 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Import.Models.PortOperate
{
[JsonObject]
public class PortOperatemb : ModelObjectBillHead
{
#region private Fields
private string _cgid = string.Empty;
private string _name = string.Empty;
private string _country = string.Empty;
private string _AppNo = string.Empty;
private string _ValidDate = string.Empty;
private string _weight = string.Empty;
public string country
{
get { return _country; }
set { _country = value; }
}
public string cgid
{
get { return _cgid; }
set { _cgid = value; }
}
public string name
{
get { return _name; }
set { _name = value; }
}
public string AppNo
{
get { return _AppNo; }
set { _AppNo = value; }
}
public string ValidDate
{
get { return _ValidDate; }
set { _ValidDate = value; }
}
public string weight
{
get { return _weight; }
set { _weight = value; }
}
private string _ywtype = "import_main";
public string ywtype
{
get { return _ywtype; }
set { _ywtype = value; }
}
//以上为联合查询的结果字段,不写回数据库
private decimal _id = 0;
private string _ContractNo = string.Empty;
private string _HTH = string.Empty;
private string _seller = string.Empty;
private string _company = string.Empty;
private string _companyname = string.Empty;
private string _buyer = string.Empty;
private string _STT = string.Empty;
private string _countryid = string.Empty;
private string _creator = string.Empty;
private string _Auditor = string.Empty;
private string _Mainstate = string.Empty;
private string _MainstateRef = string.Empty;
//private string _Printed = string.Empty;
//private string _AutoAPP = string.Empty;
private string _ShipCompany_id = string.Empty;
private string _BillNo = string.Empty;
private string _BillType = string.Empty;
private string _BillTime = 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 string _ContainerNo = string.Empty;
private string _SealNo = string.Empty;
private string _TransactionMethod = string.Empty;
private string _PaymentMethods = string.Empty;
private string _SecurityDeposit = string.Empty;
private string _CustomsReleaseDate = null;
private string _InspectionReleaseDate = null;
private string _SamplingDate_Plan = null;
private string _SamplingDate_Act = null;
private string _inspection_Signup_date = null;
private string _inspection_no = string.Empty;
private string _inspection_date = null;
private decimal _TimeMark = 0;
private string _cicode = string.Empty;
private string _ciname = string.Empty;
private string _creattime = string.Empty;
private string _Audittime = string.Empty;
private string _CIQ_licence = string.Empty;
private string _CIQ_canbesearch = string.Empty;
private string _tax_date = string.Empty;
private string _tax_paydate = string.Empty;
private string _port = string.Empty;
private string _remark = string.Empty;
private string _portRef = string.Empty;
private string _Freetime = string.Empty;
private string _LOCK_EXCHANGERATE = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _Unsealdate = string.Empty;
private string _Paydate = string.Empty;
private string _Prepaydate = string.Empty;
private int _Sampling_need = 0;
[ModelDB]
public int Sampling_need
{
get { return _Sampling_need; }
set { _Sampling_need = value; }
}
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
public decimal id
{
get { return _id; }
set { _id = value; }
}
[ModelDB]
public string ContractNo
{
get { return _ContractNo; }
set { _ContractNo = value; }
}
[ModelDB]
public string HTH
{
get { return _HTH; }
set { _HTH = value; }
}
//[ModelDB]
public string company
{
get { return _company; }
set { _company = value; }
}
public string companyname
{
get { return _companyname; }
set { _companyname = value; }
}
[ModelDB]
public string seller
{
get { return _seller; }
set { _seller = value; }
}
[ModelDB]
public string buyer
{
get { return _buyer; }
set { _buyer = value; }
}
[ModelDB]
public string STT
{
get { return _STT; }
set { _STT = value; }
}
[ModelDB]
public string countryid
{
get { return _countryid; }
set { _countryid = value; }
}
public string creator
{
get { return _creator; }
set { _creator = value; }
}
public string Auditor
{
get { return _Auditor; }
set { _Auditor = value; }
}
[ModelDB]
public string Mainstate
{
get { return _Mainstate; }
set { _Mainstate = value; }
}
public string MainstateRef
{
get { return _MainstateRef; }
set { _MainstateRef = value; }
}
[ModelDB]
public string ShipCompany_id
{
get { return _ShipCompany_id; }
set { _ShipCompany_id = value; }
}
[ModelDB]
public string BillNo
{
get { return _BillNo; }
set { _BillNo = value; }
}
[ModelDB]
public string BillType
{
get { return _BillType; }
set { _BillType = value; }
}
[ModelDB]
public string BillTime
{
get { return _BillTime; }
set { _BillTime = value; }
}
[ModelDB]
public string Vessel
{
get { return _Vessel; }
set { _Vessel = value; }
}
[ModelDB]
public string Voyage
{
get { return _Voyage; }
set { _Voyage = value; }
}
[ModelDB]
public String Ex_sailingdate
{
get { return _Ex_sailingdate; }
set { _Ex_sailingdate = value; }
}
[ModelDB]
public String Sailingdate
{
get { return _Sailingdate; }
set { _Sailingdate = value; }
}
[ModelDB]
public String ArrivalDate
{
get { return _ArrivalDate; }
set { _ArrivalDate = value; }
}
[ModelDB]
public string ContainerNo
{
get { return _ContainerNo; }
set { _ContainerNo = value; }
}
[ModelDB]
public string SealNo
{
get { return _SealNo; }
set { _SealNo = value; }
}
[ModelDB]
public string TransactionMethod
{
get { return _TransactionMethod; }
set { _TransactionMethod = value; }
}
[ModelDB]
public string PaymentMethods
{
get { return _PaymentMethods; }
set { _PaymentMethods = value; }
}
[ModelDB]
public string SecurityDeposit
{
get { return _SecurityDeposit; }
set { _SecurityDeposit = value; }
}
[ModelDB]
public string CustomsReleaseDate
{
get { return _CustomsReleaseDate; }
set { _CustomsReleaseDate = value; }
}
[ModelDB]
public string InspectionReleaseDate
{
get { return _InspectionReleaseDate; }
set { _InspectionReleaseDate = value; }
}
[ModelDB]
public string SamplingDate_Plan
{
get { return _SamplingDate_Plan; }
set { _SamplingDate_Plan = value; }
}
[ModelDB]
public string SamplingDate_Act
{
get { return _SamplingDate_Act; }
set { _SamplingDate_Act = value; }
}
[ModelDB]
public string inspection_Signup_date
{
get { return _inspection_Signup_date; }
set { _inspection_Signup_date = value; }
}
[ModelDB]
public string inspection_no
{
get { return _inspection_no; }
set { _inspection_no = value; }
}
[ModelDB]
public string inspection_date
{
get { return _inspection_date; }
set { _inspection_date = value; }
}
[ModelDB]
public string creattime
{
get { return _creattime; }
set { _creattime = value; }
}
[ModelDB]
public string Audittime
{
get { return _Audittime; }
set { _Audittime = value; }
}
[ModelDB]
public string Freetime
{
get { return _Freetime; }
set { _Freetime = value; }
}
[ModelDB]
public string CIQ_licence
{
get { return _CIQ_licence; }
set { _CIQ_licence = value; }
}
[ModelDB]
public string CIQ_canbesearch
{
get { return _CIQ_canbesearch; }
set { _CIQ_canbesearch = value; }
}
[ModelDB]
public string tax_date
{
get { return _tax_date; }
set { _tax_date = value; }
}
[ModelDB]
public string tax_paydate
{
get { return _tax_paydate; }
set { _tax_paydate = value; }
}
public string port
{
get { return _port; }
set { _port = value; }
}
[ModelDB]
public string remark
{
get { return _remark; }
set { _remark = value; }
}
public string portRef
{
get { return _portRef; }
set { _portRef = value; }
}
public decimal TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
public string cicode
{
get { return _cicode; }
set { _cicode = value; }
}
public string ciname
{
get { return _ciname; }
set { _ciname = value; }
}
[ModelDB]
public string LOCK_EXCHANGERATE
{
get { return _LOCK_EXCHANGERATE; }
set { _LOCK_EXCHANGERATE = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
[ModelDB]
public string Unsealdate
{
get { return _Unsealdate; }
set { _Unsealdate = value; }
}
public string Paydate
{
get { return _Paydate; }
set { _Paydate = value; }
}
public string Prepaydate
{
get { return _Prepaydate; }
set { _Prepaydate = value; }
}
private string _MODIFIEDUSER = string.Empty;
private string _MODIFIEDTIME = string.Empty;
[ModelDB]
public string MODIFIEDUSER
{
get { return _MODIFIEDUSER; }
set { _MODIFIEDUSER = value; }
}
[ModelDB]
public string MODIFIEDTIME
{
get { return _MODIFIEDTIME; }
set { _MODIFIEDTIME = value; }
}
#endregion
public PortOperatemb()
{
// TableName = "tMsWlPcHead";
TableName = "Import_main";
}
public override string GetBillNoFieldName()
{
return "ContractNo";
}
}
[JsonObject]
public class PortOperate2mb : PortOperatemb
{
#region private Fields
private string _Supplier_Billno = string.Empty;
private string _ResendTime = string.Empty;
private string _ResendTime2 = string.Empty;
private string _ShipAgent = string.Empty;
private string _BillReleaseDate = string.Empty;
private string _IsLBill = string.Empty;
private string _LBillShipAgent = string.Empty;
private string _IsInnerLine = string.Empty;
private string _InnerLinePort = string.Empty;
private string _YARD = string.Empty;
private string _PriceLimitDate = string.Empty;
private string _PriceLimitRemark = string.Empty;
private string _ClearanceNo = string.Empty;
private string _ClearanceDate = string.Empty;
private string _TaxRecvDate = string.Empty;
private string _GetBoxDate = string.Empty;
private string _IsRec = string.Empty;
private string _TaxRecvRemark = string.Empty;
private string _TaxPayRemark = string.Empty;
private string _CustomsReleaseDate = string.Empty;
private string _InspectionReleaseDate = string.Empty;
private string _DeclareNumber = string.Empty;
private string _HDTime = string.Empty;
private string _RecDate = string.Empty;
[ModelDB]
public string RecDate
{
get { return _RecDate; }
set { _RecDate = value; }
}
[ModelDB]
public string HDTime
{
get { return _HDTime; }
set { _HDTime = value; }
}
[ModelDB]
public string TaxPayRemark
{
get { return _TaxPayRemark; }
set { _TaxPayRemark = value; }
}
[ModelDB]
public string DeclareNumber
{
get { return _DeclareNumber; }
set { _DeclareNumber = value; }
}
[ModelDB]
public string TaxRecvRemark
{
get { return _TaxRecvRemark; }
set { _TaxRecvRemark = value; }
}
[ModelDB]
public string Supplier_Billno
{
get { return _Supplier_Billno; }
set { _Supplier_Billno = value; }
}
[ModelDB]
public string ResendTime
{
get { return _ResendTime; }
set { _ResendTime = value; }
}
[ModelDB]
public string ResendTime2
{
get { return _ResendTime2; }
set { _ResendTime2 = value; }
}
[ModelDB]
public string ShipAgent
{
get { return _ShipAgent; }
set { _ShipAgent = value; }
}
[ModelDB]
public string BillReleaseDate
{
get { return _BillReleaseDate; }
set { _BillReleaseDate = value; }
}
[ModelDB]
public string IsLBill
{
get { return _IsLBill; }
set { _IsLBill = value; }
}
[ModelDB]
public string LBillShipAgent
{
get { return _LBillShipAgent; }
set { _LBillShipAgent = value; }
}
[ModelDB]
public string IsInnerLine
{
get { return _IsInnerLine; }
set { _IsInnerLine = value; }
}
[ModelDB]
public string InnerLinePort
{
get { return _InnerLinePort; }
set { _InnerLinePort = value; }
}
[ModelDB]
public string YARD
{
get { return _YARD; }
set { _YARD = value; }
}
[ModelDB]
public string PriceLimitDate
{
get { return _PriceLimitDate; }
set { _PriceLimitDate = value; }
}
[ModelDB]
public string PriceLimitRemark
{
get { return _PriceLimitRemark; }
set { _PriceLimitRemark = value; }
}
[ModelDB]
public string ClearanceNo
{
get { return _ClearanceNo; }
set { _ClearanceNo = value; }
}
[ModelDB]
public string ClearanceDate
{
get { return _ClearanceDate; }
set { _ClearanceDate = value; }
}
[ModelDB]
public string TaxRecvDate
{
get { return _TaxRecvDate; }
set { _TaxRecvDate = value; }
}
[ModelDB]
public string GetBoxDate
{
get { return _GetBoxDate; }
set { _GetBoxDate = value; }
}
[ModelDB]
public string IsRec
{
get { return _IsRec; }
set { _IsRec = value; }
}
private string _FUNDDATE_1 = string.Empty;
[ModelDB]
public string FUNDDATE_1
{
get { return _FUNDDATE_1; }
set { _FUNDDATE_1 = value; }
}
#endregion
public PortOperate2mb ( )
{
// TableName = "tMsWlPcHead";
TableName = "Import_main";
}
public override string GetBillNoFieldName ( )
{
return "ContractNo";
}
}
#region 参照部分
#endregion
}