|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.RptCwPLEntity
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class RptCwPLEntity : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
public RptCwPLEntity()
|
|
|
|
|
{
|
|
|
|
|
TableName = "cw_PL_template";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _TEMPLATE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEMPLATE
|
|
|
|
|
{
|
|
|
|
|
get { return _TEMPLATE; }
|
|
|
|
|
set { _TEMPLATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCDATE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计期间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCDATE; }
|
|
|
|
|
set { _ACCDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _linenum = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int LINENUM
|
|
|
|
|
{
|
|
|
|
|
get { return _linenum; }
|
|
|
|
|
set { _linenum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _acctype = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 项目
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _acctype; }
|
|
|
|
|
set { _acctype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _qtylastblc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本年累计金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QTYLASTBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtylastblc; }
|
|
|
|
|
set { _qtylastblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _QTYBLC = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本月金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QTYBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _QTYBLC; }
|
|
|
|
|
set { _QTYBLC = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _startgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账套启用GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STARTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _startgid; }
|
|
|
|
|
set { _startgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更改操作人gid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更改操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class RptCwPLDetailEntity : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
public RptCwPLDetailEntity()
|
|
|
|
|
{
|
|
|
|
|
TableName = "cw_PL_template_detail";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _linkgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板科目GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LINKGID
|
|
|
|
|
{
|
|
|
|
|
get { return _linkgid; }
|
|
|
|
|
set { _linkgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCGID
|
|
|
|
|
{
|
|
|
|
|
get { return _accgid; }
|
|
|
|
|
set { _accgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _linenum;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运算顺序
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int LINENUM
|
|
|
|
|
{
|
|
|
|
|
get { return _linenum; }
|
|
|
|
|
set { _linenum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _operators = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运算符号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OPERATORS
|
|
|
|
|
{
|
|
|
|
|
get { return _operators; }
|
|
|
|
|
set { _operators = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtylastblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本年累计金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYLASTBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtylastblc; }
|
|
|
|
|
set { _qtylastblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _QTYBLC = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本月金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _QTYBLC; }
|
|
|
|
|
set { _QTYBLC = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更改操作人gid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更改操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCNAME; }
|
|
|
|
|
set { _ACCNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCDATE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计期间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCDATE; }
|
|
|
|
|
set { _ACCDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCIDNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ACCIDNAME
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCIDNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCIDNAME; }
|
|
|
|
|
set { _ACCIDNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|