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 ="*";
///
/// 业务编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get { return _gid; }
set { _gid = value; }
}
private string _EXNO = "";
///
/// 委托编号
///
[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");
///
/// 创建时间
///
[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 = "";
///
///
[ModelDB]
public string REMARK
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB]
public string OTREMARK { get; set; }
private string _corpid = "";
///
/// 分公司代码
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _createuser = "";
///
/// 创建人gid
///
[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();
///
/// 创建时间
///
[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";
}
}
//
}