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.
272 lines
6.7 KiB
C#
272 lines
6.7 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.Import.Models.ReceiptIO
|
|
{
|
|
[JsonObject]
|
|
public class ReceiptIOmb : ModelObjectBillHead
|
|
{//
|
|
#region private Fields
|
|
private string _GID = string.Empty;
|
|
private string _TRANCNO = string.Empty;
|
|
private string _CORPID = string.Empty;
|
|
private string _DEPTGID = string.Empty;
|
|
private string _OP = string.Empty;
|
|
private string _CREATETIME = string.Empty;
|
|
private string _REMARK = string.Empty;
|
|
private string _IOTYPE = string.Empty;
|
|
private string _IOTYPERef = string.Empty;
|
|
|
|
private string _RecvCompany = string.Empty;
|
|
private string _RecvName = 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 TRANCNO
|
|
{
|
|
get { return _TRANCNO; }
|
|
set { _TRANCNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CORPID
|
|
{
|
|
get { return _CORPID; }
|
|
set { _CORPID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DEPTGID
|
|
{
|
|
get { return _DEPTGID; }
|
|
set { _DEPTGID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OP
|
|
{
|
|
get { return _OP; }
|
|
set { _OP = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CREATETIME
|
|
{
|
|
get { return _CREATETIME; }
|
|
set { _CREATETIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _REMARK; }
|
|
set { _REMARK = value; }
|
|
}
|
|
[ModelDB]
|
|
public string IOTYPE
|
|
{
|
|
get { return _IOTYPE; }
|
|
set { _IOTYPE = value; }
|
|
}
|
|
public string IOTYPERef
|
|
{
|
|
get { return _IOTYPERef; }
|
|
set { _IOTYPERef = value; }
|
|
}
|
|
[ModelDB]
|
|
public string RecvCompany
|
|
{
|
|
get { return _RecvCompany; }
|
|
set { _RecvCompany = value; }
|
|
}
|
|
[ModelDB]
|
|
public string RecvName
|
|
{
|
|
get { return _RecvName; }
|
|
set { _RecvName = value; }
|
|
}
|
|
|
|
public string Remark
|
|
{
|
|
get { return _Remark; }
|
|
set { _Remark = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public ReceiptIOmb( )
|
|
{
|
|
// TableName = "tMsWlPcHead";
|
|
TableName = "OP_Receipt_IO";
|
|
}
|
|
|
|
public override string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
|
|
public override string GetTimeMarkFieldName()
|
|
{
|
|
return "";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class ReceiptIOBodymb : ModelObjectBillBody
|
|
{//
|
|
#region private Fields
|
|
private string _GID = string.Empty;
|
|
private string _IO_GID = string.Empty;
|
|
private string _BSNO = string.Empty;
|
|
private string _ReceiptName = string.Empty;
|
|
private string _Receipt_GID = string.Empty;
|
|
private string _NeedType = string.Empty;
|
|
|
|
private string _CUSTNO = string.Empty;
|
|
private string _MBLNO = string.Empty;
|
|
|
|
private string _Remark = string.Empty;
|
|
private string _OPLB = string.Empty;
|
|
|
|
private string _CUSTOMERNAME = string.Empty;
|
|
private string _SEQUENCE = string.Empty;
|
|
|
|
private string _PORTDISCHARGE = string.Empty;
|
|
private string _HBLNO = string.Empty;
|
|
|
|
private string _BillType = string.Empty;
|
|
private string _BillTypeREF = string.Empty;
|
|
private string _ArrivalDate = string.Empty;
|
|
|
|
private string _OP = string.Empty;
|
|
|
|
#region
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string IO_GID
|
|
{
|
|
get { return _IO_GID; }
|
|
set { _IO_GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ReceiptName
|
|
{
|
|
get { return _ReceiptName; }
|
|
set { _ReceiptName = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Receipt_GID
|
|
{
|
|
get { return _Receipt_GID; }
|
|
set { _Receipt_GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string BSNO
|
|
{
|
|
get { return _BSNO; }
|
|
set { _BSNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string NeedType
|
|
{
|
|
get { return _NeedType; }
|
|
set { _NeedType = value; }
|
|
}
|
|
|
|
public string CUSTNO
|
|
{
|
|
get { return _CUSTNO; }
|
|
set { _CUSTNO = value; }
|
|
}
|
|
public string MBLNO
|
|
{
|
|
get { return _MBLNO; }
|
|
set { _MBLNO = value; }
|
|
}
|
|
|
|
public string Remark
|
|
{
|
|
get { return _Remark; }
|
|
set { _Remark = value; }
|
|
}
|
|
public string OPLB
|
|
{
|
|
get { return _OPLB; }
|
|
set { _OPLB = value; }
|
|
}
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _CUSTOMERNAME; }
|
|
set { _CUSTOMERNAME = value; }
|
|
}
|
|
public string PORTDISCHARGE
|
|
{
|
|
get { return _PORTDISCHARGE; }
|
|
set { _PORTDISCHARGE = value; }
|
|
}
|
|
public string HBLNO
|
|
{
|
|
get { return _HBLNO; }
|
|
set { _HBLNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string SEQUENCE
|
|
{
|
|
get { return _SEQUENCE; }
|
|
set { _SEQUENCE = value; }
|
|
}
|
|
|
|
public string BillType
|
|
{
|
|
get { return _BillType; }
|
|
set { _BillType = value; }
|
|
}
|
|
public string BillTypeREF
|
|
{
|
|
get { return _BillTypeREF; }
|
|
set { _BillTypeREF = value; }
|
|
}
|
|
public string ArrivalDate
|
|
{
|
|
get { return _ArrivalDate; }
|
|
set { _ArrivalDate = value; }
|
|
}
|
|
public string OP
|
|
{
|
|
get { return _OP; }
|
|
set { _OP = value; }
|
|
}
|
|
#endregion
|
|
#endregion
|
|
|
|
public ReceiptIOBodymb ( )
|
|
{
|
|
// TableName = "tMsWlPcHead";
|
|
TableName = "op_Receipt_IO_Body";
|
|
}
|
|
|
|
public override string GetBillNoFieldName()
|
|
{
|
|
return "IO_GID";
|
|
}
|
|
|
|
public override string GetTimeMarkFieldName()
|
|
{
|
|
return "";
|
|
}
|
|
}
|
|
|
|
|
|
#region 参照部分
|
|
|
|
#endregion
|
|
}
|