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.

166 lines
3.8 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
using NPOI.OpenXmlFormats.Dml;
namespace DSWeb.MvcShipping.Models.MsOpPlan
{
[JsonObject]
public class MsOpPlan : ModelObjectBillHead
{
#region 读写属性
private string _gid ="*";
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get { return _gid; }
set { _gid = value; }
}
private string _EXNO = "";
/// <summary>
/// 委托编号
/// </summary>
[ModelDB]
public string CUSTNO
{
get { return _EXNO; }
set { _EXNO = value; }
}
public string BSSTATUS { get; set; }
public string OPSTATUS { get; set; }
private string _BILLDATE = DateTime.Now.ToString("yyyy-MM-dd");
/// <summary>
/// 创建时间
/// </summary>
[ModelDB]
public string BSDATE
{
get { return _BILLDATE; }
set { _BILLDATE = value; }
}
private string _BILLTYPE = "";
[ModelDB]
public string ACCDATE
{
get { return _BILLTYPE; }
set { _BILLTYPE = value; }
}
[ModelDB]
public string BSSOURCE { get; set; }
[ModelDB]
public string BSSOURCEDETAIL { get; set; }
[ModelDB]
public string CUSTOMERNAME { get; set; }
[ModelDB]
public string SALE { get; set; }
[ModelDB]
public decimal AMOUNT { get; set; }
[ModelDB]
public string FEEDATE { get; set; }
private string _REMARKS = "";
/// <summary>
/// </summary>
[ModelDB]
public string REMARK
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB]
public string OTREMARK { get; set; }
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _createuser = "";
/// <summary>
/// 创建人gid
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _createuser; }
set { _createuser = value; }
}
private string _createuserref = "";
public string INPUTBYREF
{
get { return _createuserref; }
set { _createuserref = value; }
}
private string _createtime = DateTime.Now.ToString();
/// <summary>
/// 创建时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTDATE
{
get { return _createtime; }
set { _createtime = value; }
}
public bool TOSALE { get; set; }
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public int SFNO { get; set; }
public string DRFEESTATUS { get; set; }
public string CRFEESTATUS { get; set; }
public string DRINVSTATUS { get; set; }
public string BSCUSTNO { get; set; }
public string OLDACCDATE { get; set; }
[ModelDB]
public string MASTERNO { get; set; }
[ModelDB]
public string MODIFIEDUSER { get; set; }
[ModelDB]
public string MODIFIEDTIME { get; set; }
#endregion
public MsOpPlan()
{
TableName = "op_plan";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}