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.

378 lines
9.3 KiB
C#

10 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Import.Models.CargoName
{
[JsonObject]
public class Import_CargoName : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _CLIENTGID = string.Empty;
private string _ENNAME = string.Empty;
private string _CNNAME = string.Empty;
private string _HS_ID = string.Empty;
private string _CIQ_ID = string.Empty;
private string _MODIFIEDUSER = string.Empty;
private string _MODIFIEDTIME = string.Empty;
private string _HSREF = string.Empty;
private string _CIQREF = string.Empty;
private string _SBYS = string.Empty;
private string _CARGOTYPE = string.Empty;
private string _AREA = string.Empty;
private string _CODENAME = string.Empty;
private string _CODEandNAME = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string CLIENTGID
{
get { return _CLIENTGID; }
set { _CLIENTGID = value; }
}
[ModelDB]
public string ENNAME
{
get { return _ENNAME; }
set { _ENNAME = value; }
}
[ModelDB]
public string CNNAME
{
get { return _CNNAME; }
set { _CNNAME = value; }
}
[ModelDB]
public string HS_ID
{
get { return _HS_ID; }
set { _HS_ID = value; }
}
[ModelDB]
public string CIQ_ID
{
get { return _CIQ_ID; }
set { _CIQ_ID = value; }
}
[ModelDB]
public string MODIFIEDUSER
{
get { return _MODIFIEDUSER; }
set { _MODIFIEDUSER = value; }
}
[ModelDB]
public string MODIFIEDTIME
{
get { return _MODIFIEDTIME; }
set { _MODIFIEDTIME = value; }
}
public string HSREF
{
get { return _HSREF; }
set { _HSREF = value; }
}
public string CIQREF
{
get { return _CIQREF; }
set { _CIQREF = value; }
}
[ModelDB]
public string SBYS
{
get { return _SBYS; }
set { _SBYS = value; }
}
[ModelDB]
public string CARGOTYPE
{
get { return _CARGOTYPE; }
set { _CARGOTYPE = value; }
}
[ModelDB]
public string AREA
{
get { return _AREA; }
set { _AREA = value; }
}
[ModelDB]
public string CODENAME
{
get { return _CODENAME; }
set { _CODENAME = value; }
}
public string CODEandNAME
{
get { return _CODENAME+"_"+_CNNAME; }
}
#endregion
public Import_CargoName()
{
TableName = "Import_CargoName";
}
override public string GetBillNoFieldName()
{
return "CLIENTGID";
}
override public string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class Import_FactoryNo : ModelObjectBillBody
{
private string _GID = string.Empty;
private string _CLIENTGID = string.Empty;
private string _FACTORYNO = string.Empty;
private string _REMARK = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string CLIENTGID
{
get { return _CLIENTGID; }
set { _CLIENTGID = value; }
}
[ModelDB]
public string FACTORYNO
{
get { return _FACTORYNO; }
set { _FACTORYNO = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public Import_FactoryNo()
{
TableName = "Import_FactoryNo";
}
override public string GetBillNoFieldName()
{
return "CLIENTGID";
}
override public string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class Import_FactoryNo2 : ModelObjectBillHead
{
private string _GID = string.Empty;
private string _CLIENTGID = "";
private string _FACTORYNO = string.Empty;
private string _REMARK = string.Empty;
private string _COUNTRYID = string.Empty;
private string _COUNTRY = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string COUNTRYID
{
get { return _COUNTRYID; }
set { _COUNTRYID = value; }
}
[ModelDB]
public string CLIENTGID
{
get { return _CLIENTGID; }
set { _CLIENTGID = value; }
}
[ModelDB]
public string FACTORYNO
{
get { return _FACTORYNO; }
set { _FACTORYNO = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string COUNTRY
{
get { return _COUNTRY; }
set { _COUNTRY = value; }
}
public Import_FactoryNo2()
{
TableName = "Import_FactoryNo";
}
override public string GetBillNoFieldName()
{
return "GID";
}
override public string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class Import_CargoName2 : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _CLIENTGID = "";
private string _FACTORYNOGID = string.Empty;
private string _ENNAME = string.Empty;
private string _CNNAME = string.Empty;
private string _HS_ID = string.Empty;
private string _CIQ_ID = string.Empty;
private string _MODIFIEDUSER = string.Empty;
private string _MODIFIEDTIME = string.Empty;
private string _HSREF = string.Empty;
private string _CIQREF = string.Empty;
private string _SBYS = string.Empty;
private string _CARGOTYPE = string.Empty;
//20191008 鑫鹏威 增加商品标签
private string _TAGPICURL = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string CLIENTGID
{
get { return _CLIENTGID; }
set { _CLIENTGID = value; }
}
[ModelDB]
public string FACTORYNOGID
{
get { return _FACTORYNOGID; }
set { _FACTORYNOGID = value; }
}
[ModelDB]
public string ENNAME
{
get { return _ENNAME; }
set { _ENNAME = value; }
}
[ModelDB]
public string CNNAME
{
get { return _CNNAME; }
set { _CNNAME = value; }
}
[ModelDB]
public string HS_ID
{
get { return _HS_ID; }
set { _HS_ID = value; }
}
[ModelDB]
public string CIQ_ID
{
get { return _CIQ_ID; }
set { _CIQ_ID = value; }
}
[ModelDB]
public string MODIFIEDUSER
{
get { return _MODIFIEDUSER; }
set { _MODIFIEDUSER = value; }
}
[ModelDB]
public string MODIFIEDTIME
{
get { return _MODIFIEDTIME; }
set { _MODIFIEDTIME = value; }
}
public string HSREF
{
get { return _HSREF; }
set { _HSREF = value; }
}
public string CIQREF
{
get { return _CIQREF; }
set { _CIQREF = value; }
}
[ModelDB]
public string SBYS
{
get { return _SBYS; }
set { _SBYS = value; }
}
[ModelDB]
public string CARGOTYPE
{
get { return _CARGOTYPE; }
set { _CARGOTYPE = value; }
}
[ModelDB]
public string TAGPICURL
{
get { return _TAGPICURL; }
set { _TAGPICURL = value; }
}
#endregion
public Import_CargoName2 ( )
{
TableName = "Import_CargoName";
}
override public string GetBillNoFieldName ( )
{
return "FACTORYNOGID";
}
override public string GetTimeMarkFieldName ( )
{
return "";
}
}
}