|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.InfoSaleProfitSharePlan
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class InfoSaleProfitSharePlan : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
private string _PLANNAME = "";
|
|
|
|
|
private int _ISSTOPMONTH =0; // 死账月数
|
|
|
|
|
private int _POORDAY =0; //允许误差天数
|
|
|
|
|
private int _MONTHPOORDAY = 0; //允许误差天数
|
|
|
|
|
private string _REMARKS = "";
|
|
|
|
|
private string _COMPANYID = String.Empty;
|
|
|
|
|
private string _CREATEUSER;
|
|
|
|
|
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 PLANNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _PLANNAME; }
|
|
|
|
|
set { _PLANNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int ISSTOPMONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _ISSTOPMONTH; }
|
|
|
|
|
set { _ISSTOPMONTH = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int POORDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _POORDAY; }
|
|
|
|
|
set { _POORDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int MONTHPOORDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _MONTHPOORDAY; }
|
|
|
|
|
set { _MONTHPOORDAY = 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 InfoSaleProfitSharePlan()
|
|
|
|
|
{
|
|
|
|
|
TableName = "info_sale_profitShare";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class InfoSaleProfitShareDetail : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
private string _PLANID = "";
|
|
|
|
|
private int _MONTHNUM = 0; // 月数
|
|
|
|
|
private decimal _PROFITDOWN = 0;
|
|
|
|
|
private decimal _PROFITUP = 0;
|
|
|
|
|
private decimal _SHAREPR = 0;
|
|
|
|
|
private decimal _BEFORESHAREPR = 0;
|
|
|
|
|
private string _REMARKS = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int MONTHNUM
|
|
|
|
|
{
|
|
|
|
|
get { return _MONTHNUM; }
|
|
|
|
|
set { _MONTHNUM = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal PROFITDOWN
|
|
|
|
|
{
|
|
|
|
|
get { return _PROFITDOWN; }
|
|
|
|
|
set { _PROFITDOWN = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal PROFITUP
|
|
|
|
|
{
|
|
|
|
|
get { return _PROFITUP; }
|
|
|
|
|
set { _PROFITUP = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal SHAREPR
|
|
|
|
|
{
|
|
|
|
|
get { return _SHAREPR; }
|
|
|
|
|
set { _SHAREPR = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal BEFORESHAREPR
|
|
|
|
|
{
|
|
|
|
|
get { return _BEFORESHAREPR; }
|
|
|
|
|
set { _BEFORESHAREPR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARKS
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARKS; }
|
|
|
|
|
set { _REMARKS = value; }
|
|
|
|
|
}
|
|
|
|
|
public string SALEID
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
public string SALE
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
public int POORDAY
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
public int MONTHPOORDAY
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
public decimal PROFITPLAN { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public InfoSaleProfitShareDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "info_sale_profitShareDetail";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class InfoSaleProfitShareLx : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
private string _PLANID = "";
|
|
|
|
|
private int _BDAY = 0; // 月数
|
|
|
|
|
private int _EDAY = 0; // 月数
|
|
|
|
|
private decimal _DEDUCTIN = 0;
|
|
|
|
|
private string _REMARKS = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int BDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _BDAY; }
|
|
|
|
|
set { _BDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int EDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _EDAY; }
|
|
|
|
|
set { _EDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal DEDUCTIN
|
|
|
|
|
{
|
|
|
|
|
get { return _DEDUCTIN; }
|
|
|
|
|
set { _DEDUCTIN = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARKS
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARKS; }
|
|
|
|
|
set { _REMARKS = value; }
|
|
|
|
|
}
|
|
|
|
|
public string SALEID
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
public string SALE
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public InfoSaleProfitShareLx()
|
|
|
|
|
{
|
|
|
|
|
TableName = "info_sale_profitShareLx";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class InfoSaleProfitShareCq : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
private string _PLANID = "";
|
|
|
|
|
private int _BDAY = 0; // 月数
|
|
|
|
|
private int _EDAY = 0; // 月数
|
|
|
|
|
private decimal _DEDUCTIN = 0;
|
|
|
|
|
private string _REMARKS = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int BDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _BDAY; }
|
|
|
|
|
set { _BDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int EDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _EDAY; }
|
|
|
|
|
set { _EDAY = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal DEDUCTIN
|
|
|
|
|
{
|
|
|
|
|
get { return _DEDUCTIN; }
|
|
|
|
|
set { _DEDUCTIN = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARKS
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARKS; }
|
|
|
|
|
set { _REMARKS = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public InfoSaleProfitShareCq()
|
|
|
|
|
{
|
|
|
|
|
TableName = "info_sale_profitShareCq";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|