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/MvcShipping/Models/MsOpApplyService/MsOpApplyService.cs

365 lines
14 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpApplyService
{
[JsonObject]
public class MsOpApplyService : ModelObjectBillHead
{
#region 私有成员
private string _BSNO ="*";//业务编号
private string _OPField = "";
private string _GID = String.Empty;
private string _STATUS = "未完成";
private string _OP = "";
private string _INPUTBY = "";
private string _SERVICE = "";
private string _STARTDATETIME = String.Empty;
private string _ENDOP = "";
private string _PLANENDTIME = String.Empty;
private string _ENDDATETIME = String.Empty;
private string _REMARK = "";
#endregion
#region 读写属性
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
/// <summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string OPFIELD { get { return _OPField; } set { _OPField = value; } }
/// 业务状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All)]
public string STATUS { get { return _STATUS; } set { _STATUS = value; } }
/// <summary>
/// 录入日期
/// </summary>
[ModelDB]
public string STARTDATETIME { get { return _STARTDATETIME; } set { _STARTDATETIME = value; } }
[ModelDB]
public string OP { get { return _OP; } set { _OP = value; } }
[ModelDB]
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
[ModelDB]
public string GID { get { return _GID; } set { _GID = value; } }
[ModelDB]
public string SERVICE { get { return _SERVICE; } set { _SERVICE = value; } }
[ModelDB]
public string ENDOP { get { return _ENDOP; } set { _ENDOP = value; } }
[ModelDB]
public string PLANENDTIME { get { return _PLANENDTIME; } set { _PLANENDTIME = value; } }
/// <summary>
/// 预抵日期
/// </summary>
[ModelDB]
public string ENDDATETIME { get { return _ENDDATETIME; } set { _ENDDATETIME = value; } }
[ModelDB]
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
#endregion
public MsOpApplyService()
{
TableName = "op_apply_service";
}
override public string GetBillNoFieldName()
{
return "BsNo";
}
}
[JsonObject]
public class MsOpApplyServiceDetail : ModelObjectBillBody
{
#region private Fields
private string _GID = "";//业务编号
private string _BSNO = "*";//业务编号
private string _OPField = "";
private decimal _serialNo = 0;
private string _STATUS = "未完成";
private string _WORK = "";
private string _STARTDATETIME;
private string _ENDOP = "";
private string _PLANENDTIME;
private string _ENDDATETIME;
private string _NOFINISHRESON = "";
private string _NEXTPLAN = "";
private string _OTADVICE = "";
private string _HELPOP = "";
private string _REMARK = "";
#endregion
#region Public Properties
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
[ModelDB]
public string GID { get { return _GID; } set { _GID = value; } }
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public decimal SerialNo
{
get { return _serialNo; }
set { _serialNo = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string OPFIELD { get { return _OPField; } set { _OPField = value; } }
[ModelDB(MDBType = ModelDBOprationType.All)]
public string STATUS { get { return _STATUS; } set { _STATUS = value; } }
[ModelDB]
public string WORK { get { return _WORK; } set { _WORK = value; } }
/// <summary>
/// 录入日期
/// </summary>
[ModelDB]
public string STARTDATETIME { get { return _STARTDATETIME; } set { _STARTDATETIME = value; } }
[ModelDB]
public string NOFINISHRESON { get { return _NOFINISHRESON; } set { _NOFINISHRESON = value; } }
[ModelDB]
public string NEXTPLAN { get { return _NEXTPLAN; } set { _NEXTPLAN = value; } }
[ModelDB]
public string OTADVICE { get { return _OTADVICE; } set { _OTADVICE = value; } }
[ModelDB]
public string HELPOP { get { return _HELPOP; } set { _HELPOP = value; } }
[ModelDB]
public string ENDOP { get { return _ENDOP; } set { _ENDOP = value; } }
[ModelDB]
public string PLANENDTIME { get { return _PLANENDTIME; } set { _PLANENDTIME = value; } }
/// <summary>
/// 预抵日期
/// </summary>
[ModelDB]
public string ENDDATETIME { get { return _ENDDATETIME; } set { _ENDDATETIME = value; } }
[ModelDB]
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
#endregion
override public string GetBillNoFieldName()
{
return "BsNo";
}
}
[JsonObject]
public class MsOpApplyServiceView : ModelObjectBillHead
{
#region 私有成员
private string _BSNO = "*";//业务编号
private string _OPField = "";
private string _GID = String.Empty;
private string _STATUS = "未完成";
private string _OP = "";
private string _INPUTBY = "";
private string _SERVICE = "";
private string _STARTDATETIME = String.Empty;
private string _ENDOP = "";
private string _PLANENDTIME = String.Empty;
private string _ENDDATETIME = String.Empty;
private string _REMARK = "";
private string _SERVICETYPE = "";
private bool _BSSTATUS;//业务状态
private bool _FEESTATUS;//费用状态
private string _BSSTATUSREF = "未锁定";//会计期间
private string _FEESTATUSREF = "未锁定";//主提单号
private DateTime _BSDATE = DateTime.Now;//录入日期
private string _ACCDATE = "";//会计期间
private string _MBLNO = "";//主提单号
private string _CUSTNO = "";//委托编号
private string _CUSTOMERNAME = "";//委托单位
private string _BSTYPE = "";//业务类型
private string _VESSEL = "";//船名
private string _VOYNO = "";//航次
private string _ETD=null;//开船日期
private string _ETA = null;//开船日期
private string _PORTLOAD = "";//卸货港代码
private string _PORTDISCHARGE = "";//卸货港
private string _AINPUTBY = "";//录入人
private string _AOP = "";//操作员
private string _SALE = "";//揽货人
private string _CUSTOMSER = "";//报关行
private string _BSSOURCE = "";//业务来源
private string _BSSOURCEDETAIL = "";//来源明细
private string _CORPID = "";//分公司代码
private string _SALEDEPT = "";//所属业务部门
private string _CUSTOMNO = "";//报关单号
private string _CUSTOMDATE = null;//报关日期
private string _INSPECTIONNO = "";//报检单号
private string _INSPECTIONDATE = null;//报检日期
private string _INVNO = "";//发票号
private string _CONTRACTNO = "";//合同号
private string _ARCOUNTRY = "";//运抵国
private string _GOODSOURCE = "";//货源地
private string _DOCNO = "";//批准文号
private string _TRADETYPE = "";//成交方式
private string _BOOKNO = "";//成交方式
private string _BYCUSTOM = "";//成交方式
private string _ENTERP = "";//
private string _ENTERPID = "";//
#endregion
#region 读写属性
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
/// <summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string OPFIELD { get { return _OPField; } set { _OPField = value; } }
/// 业务状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string STATUS { get { return _STATUS; } set { _STATUS = value; } }
/// <summary>
/// 录入日期
/// </summary>
[ModelDB]
public string STARTDATETIME { get { return _STARTDATETIME; } set { _STARTDATETIME = value; } }
[ModelDB]
public string OP { get { return _OP; } set { _OP = value; } }
[ModelDB]
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
[ModelDB]
public string GID { get { return _GID; } set { _GID = value; } }
[ModelDB]
public string SERVICE { get { return _SERVICE; } set { _SERVICE = value; } }
[ModelDB]
public string ENDOP { get { return _ENDOP; } set { _ENDOP = value; } }
[ModelDB]
public string PLANENDTIME { get { return _PLANENDTIME; } set { _PLANENDTIME = value; } }
/// <summary>
/// 预抵日期
/// </summary>
[ModelDB]
public string ENDDATETIME { get { return _ENDDATETIME; } set { _ENDDATETIME = value; } }
[ModelDB]
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
public string SERVICETYPE { get { return _SERVICETYPE; } set { _SERVICETYPE = value; } }
public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } }
public string BSSTATUSREF { get { return _BSSTATUSREF; } set { _BSSTATUSREF = value; } }
public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } }
public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } }
public DateTime BSDATE { get { return _BSDATE; } set { _BSDATE = value; } }
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } }
public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } }
public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } }
public string BSTYPE { get { return _BSTYPE; } set { _BSTYPE = value; } }
public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } }
public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } }
public string ETD { get { return _ETD; } set { _ETD = value; } }
public string ETA { get { return _ETA; } set { _ETA = value; } }
public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } }
public string AINPUTBY { get { return _AINPUTBY; } set { _AINPUTBY = value; } }
public string AOP { get { return _AOP; } set { _AOP = value; } }
public string SALE { get { return _SALE; } set { _SALE = value; } }
public string CUSTOMSER { get { return _CUSTOMSER; } set { _CUSTOMSER = value; } }
public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } }
public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } }
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
public string SALEDEPT { get { return _SALEDEPT; } set { _SALEDEPT = value; } }
public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
public string CUSTOMDATE { get { return _CUSTOMDATE; } set { _CUSTOMDATE = value; } }
public string INSPECTIONNO { get { return _INSPECTIONNO; } set { _INSPECTIONNO = value; } }
public string INSPECTIONDATE { get { return _INSPECTIONDATE; } set { _INSPECTIONDATE = value; } }
public string INVNO { get { return _INVNO; } set { _INVNO = value; } }
public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } }
public string ARCOUNTRY { get { return _ARCOUNTRY; } set { _ARCOUNTRY = value; } }
public string GOODSOURCE { get { return _GOODSOURCE; } set { _GOODSOURCE = value; } }
public string DOCNO { get { return _DOCNO; } set { _DOCNO = value; } }
public string TRADETYPE { get { return _TRADETYPE; } set { _TRADETYPE = value; } }
public string BOOKNO { get { return _BOOKNO; } set { _BOOKNO = value; } }
public string BYCUSTOM { get { return _BYCUSTOM; } set { _BYCUSTOM = value; } }
public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } }
public string ENTERPID { get { return _ENTERPID; } set { _ENTERPID = value; } }
#endregion
public MsOpApplyServiceView()
{
TableName = "op_apply_service";
}
override public string GetBillNoFieldName()
{
return "BsNo";
}
}
#region 参照部分
#endregion
}