|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.RptCwSofpEntity
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class RptCwSofpEntity : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
public RptCwSofpEntity()
|
|
|
|
|
{
|
|
|
|
|
TableName = "cw_sofp_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 _linenum1 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行次1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LINENUM1
|
|
|
|
|
{
|
|
|
|
|
get { return _linenum1; }
|
|
|
|
|
set { _linenum1 = 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 _qtyyearblc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QTYYEARBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtyyearblc; }
|
|
|
|
|
set { _qtyyearblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _linenum2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 行次2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LINENUM2
|
|
|
|
|
{
|
|
|
|
|
get { return _linenum2; }
|
|
|
|
|
set { _linenum2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _acctype2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 负债和所有者权益(或股东权益)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCTYPE2
|
|
|
|
|
{
|
|
|
|
|
get { return _acctype2; }
|
|
|
|
|
set { _acctype2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _qtylastblc2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 期末余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QTYLASTBLC2
|
|
|
|
|
{
|
|
|
|
|
get { return _qtylastblc2; }
|
|
|
|
|
set { _qtylastblc2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _qtyyearblc2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string QTYYEARBLC2
|
|
|
|
|
{
|
|
|
|
|
get { return _qtyyearblc2; }
|
|
|
|
|
set { _qtyyearblc2 = 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 RptCwSofpDetailEntity : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
public RptCwSofpDetailEntity()
|
|
|
|
|
{
|
|
|
|
|
TableName = "cw_sofp_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 _LINKNUM = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板科目行次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LINKNUM
|
|
|
|
|
{
|
|
|
|
|
get { return _LINKNUM; }
|
|
|
|
|
set { _LINKNUM = 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 string _access = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取数规则
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCESS
|
|
|
|
|
{
|
|
|
|
|
get { return _access; }
|
|
|
|
|
set { _access = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtylastblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 期末余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYLASTBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtylastblc; }
|
|
|
|
|
set { _qtylastblc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _qtyyearblc = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年初余额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal QTYYEARBLC
|
|
|
|
|
{
|
|
|
|
|
get { return _qtyyearblc; }
|
|
|
|
|
set { _qtyyearblc = 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";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|