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/MsInfoSaleProfitShareSet/InfoSaleProfitShareSet.cs

102 lines
2.5 KiB
C#

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.InfoSaleProfitShareSet
{
[JsonObject]
public class InfoSaleProfitShareSet : ModelObjectBillHead
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private string _PLANID ="";
private string _PLANREF = "";
private string _SALEID = "";
private string _SALE = "";
private string _REMARKS = "";
private string _COMPANYID = String.Empty;
private string _CREATEUSER;
private decimal _PROFITPLAN = 0;
private DateTime _CREATETIME = DateTime.Now;//录入日期
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string PLANID
{
get { return _PLANID; }
set { _PLANID = value; }
}
public string PLANREF
{
get { return _PLANREF; }
set { _PLANREF = value; }
}
[ModelDB]
public string SALEID
{
get { return _SALEID; }
set { _SALEID = value; }
}
[ModelDB]
public string SALE
{
get { return _SALE; }
set { _SALE = value; }
}
[ModelDB]
public decimal PROFITPLAN
{
get { return _PROFITPLAN; }
set { _PROFITPLAN = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
/// <summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } }
#endregion
public InfoSaleProfitShareSet()
{
TableName = "info_sale_profitShareSet";
}
}
}