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.
DS7/DSWeb/Areas/Import/Models/approval/approval.cs

334 lines
8.8 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Import.Models.approval
{
[JsonObject]
public class approvalmb : ModelObjectBillHead
{
#region private Fields
private string _id = string.Empty;
private string _SQDH = string.Empty;//申请单号
private string _SLJG = string.Empty;//受理机构
private string _APPNO = string.Empty;//许可证号
private string _cargoinfo_id = string.Empty;
private string _cargociq_id = string.Empty;
private string _AppName = string.Empty;
private string _Countryid = string.Empty;
private string _Weight = string.Empty;
private string _remain = string.Empty;
private string _ValidDate = string.Empty;
private string _code = string.Empty;
private string _name = string.Empty;
private string _ciqcode = string.Empty;
private string _ciqname = string.Empty;
private string _Country = string.Empty;
private string _used = string.Empty;
private string _portRef = string.Empty;
private string _selected = string.Empty;
private string _canbeused = string.Empty;
private string _isdeleted = string.Empty;
private string _isdeletedRef = string.Empty;
private string _company = string.Empty;
private string _companyname = string.Empty;
private string _depot = string.Empty;
private string _gid = string.Empty;
private string _usedweight = string.Empty;
private string _JustWriteoffs = string.Empty;
private string _REMARK = string.Empty;
private string _SPECIFICATIONS = string.Empty;
#endregion
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
public string id
{
get { return _id; }
set { _id = value; }
}
[ModelDB]
public string gid
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string SQDH
{
get { return _SQDH; }
set { _SQDH = value; }
}
[ModelDB]
public string SLJG
{
get { return _SLJG; }
set { _SLJG = value; }
}
[ModelDB]
public string APPNO
{
get { return _APPNO; }
set { _APPNO = value; }
}
[ModelDB]
public string cargoinfo_id
{
get { return _cargoinfo_id; }
set { _cargoinfo_id = value; }
}
[ModelDB]
public string cargociq_id
{
get { return _cargociq_id; }
set { _cargociq_id = value; }
}
[ModelDB]
public string AppName
{
get { return _AppName; }
set { _AppName = value; }
}
[ModelDB]
public string Countryid
{
get { return _Countryid; }
set { _Countryid = value; }
}
[ModelDB]
public string Weight
{
get { return _Weight; }
set { _Weight = value; }
}
[ModelDB]
public string ValidDate
{
get { return _ValidDate; }
set { _ValidDate = value; }
}
[ModelDB]
public string isdeleted
{
get { return _isdeletedRef; }
set { _isdeletedRef = value; }
}
[ModelDB]
public string company
{
get { return _company; }
set { _company = value; }
}
public string companyname
{
get { return _companyname; }
set { _companyname = value; }
}
[ModelDB]
public string depot
{
get { return _depot; }
set { _depot = value; }
}
[ModelDB]
public string usedweight
{
get { return _usedweight; }
set { _usedweight = value; }
}
[ModelDB]
public string JustWriteoffs
{
get { return _JustWriteoffs; }
set { _JustWriteoffs = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string code
{
get { return _code; }
set { _code = value; }
}
public string name
{
get { return _name; }
set { _name = value; }
}
public string ciqcode
{
get { return _ciqcode; }
set { _ciqcode = value; }
}
public string ciqname
{
get { return _ciqname; }
set { _ciqname = value; }
}
public string Country
{
get { return _Country; }
set { _Country = value; }
}
public string used
{
get { return _used; }
set { _used = value; }
}
public string portRef
{
get { return _portRef; }
set { _portRef = value; }
}
public string remain
{
get { return _remain; }
set { _remain = value; }
}
public string selected
{
get { return _selected; }
set { _selected = value; }
}
public string canbeused
{
get { return _canbeused; }
set { _canbeused = value; }
}
public string isdeletedRef
{
get { return _isdeletedRef; }
set { _isdeletedRef = value; }
}
[ModelDB]
public string SPECIFICATIONS
{
get { return _SPECIFICATIONS; }
set { _SPECIFICATIONS = value; }
}
public approvalmb()
{
// TableName = "tMsWlPcHead";
TableName = "Import_approval";
}
}
[JsonObject]
public class Usingmb : ModelObjectBase
{
#region private Fields
private string _weight = string.Empty;
private string _ContractNo = string.Empty;
private string _HTH = string.Empty;
private string _seller = string.Empty;
private string _buyer = string.Empty;
private string _code = string.Empty;
private string _name = string.Empty;
private string _ciqcode = string.Empty;
private string _ciqname = string.Empty;
private string _cargoname = string.Empty;
private string _cancellationRef = string.Empty;
private string _cancellation_date = string.Empty;
private string _ArrivalDate = string.Empty;
private string _MainstateRef = string.Empty;
private string _REMARK = string.Empty;
public string weight
{
get { return _weight; }
set { _weight = 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 code
{
get { return _code; }
set { _code = value; }
}
public string name
{
get { return _name; }
set { _name = value; }
}
public string ciqcode
{
get { return _ciqcode; }
set { _ciqcode = value; }
}
public string ciqname
{
get { return _ciqname; }
set { _ciqname = value; }
}
public string cargoname
{
get { return _cargoname; }
set { _cargoname = value; }
}
public string cancellationRef
{
get { return _cancellationRef; }
set { _cancellationRef = value; }
}
public string cancellation_date
{
get { return _cancellation_date; }
set { _cancellation_date = value; }
}
public string ArrivalDate
{
get { return _ArrivalDate; }
set { _ArrivalDate = value; }
}
public string MainstateRef
{
get { return _MainstateRef; }
set { _MainstateRef = value; }
}
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
#endregion
public Usingmb()
{
// TableName = "tMsWlPcHead";
TableName = "";
}
}
// #endregion
#region 参照部分
#endregion
}