|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.CommMng.Models
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CwAccitemsGlModel
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = Guid.NewGuid().ToString();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCID
|
|
|
|
|
{
|
|
|
|
|
get { return _accid; }
|
|
|
|
|
set { _accid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accname = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _accname; }
|
|
|
|
|
set { _accname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _detailed = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 末级科目(标志)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool DETAILED
|
|
|
|
|
{
|
|
|
|
|
get { return _detailed; }
|
|
|
|
|
set { _detailed = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 借贷方向
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DC
|
|
|
|
|
{
|
|
|
|
|
get { return _dc; }
|
|
|
|
|
set { _dc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isfcy = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否核算外币
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISFCY
|
|
|
|
|
{
|
|
|
|
|
get { return _isfcy; }
|
|
|
|
|
set { _isfcy = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isdeptacc = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否核算部门
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISDEPTACC
|
|
|
|
|
{
|
|
|
|
|
get { return _isdeptacc; }
|
|
|
|
|
set { _isdeptacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isemplacc = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否核算人员
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISEMPLACC
|
|
|
|
|
{
|
|
|
|
|
get { return _isemplacc; }
|
|
|
|
|
set { _isemplacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _iscorpacc = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否算客户门
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISCORPACC
|
|
|
|
|
{
|
|
|
|
|
get { return _iscorpacc; }
|
|
|
|
|
set { _iscorpacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isitemacc = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否核算项目
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISITEMACC
|
|
|
|
|
{
|
|
|
|
|
get { return _isitemacc; }
|
|
|
|
|
set { _isitemacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _remarks = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string REMARKS
|
|
|
|
|
{
|
|
|
|
|
get { return _remarks; }
|
|
|
|
|
set { _remarks = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _year = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YEAR
|
|
|
|
|
{
|
|
|
|
|
get { return _year; }
|
|
|
|
|
set { _year = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _month = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 月
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _month; }
|
|
|
|
|
set { _month = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _paccgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父级科目代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PACCGID
|
|
|
|
|
{
|
|
|
|
|
get { return _paccgid; }
|
|
|
|
|
set { _paccgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accattribute = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目属性(资产、负债、共同、权益、成本、损益)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCATTRIBUTE
|
|
|
|
|
{
|
|
|
|
|
get { return _accattribute; }
|
|
|
|
|
set { _accattribute = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isenable = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否启用
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISENABLE
|
|
|
|
|
{
|
|
|
|
|
get { return _isenable; }
|
|
|
|
|
set { _isenable = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCTYPE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCTYPE; }
|
|
|
|
|
set { _ACCTYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _PACCNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父类科目名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PACCNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _PACCNAME; }
|
|
|
|
|
set { _PACCNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// tree中的 id 项,科目GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string id
|
|
|
|
|
{
|
|
|
|
|
get { return _id; }
|
|
|
|
|
set { _id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _name = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// tree中的 NAME 项,科目code+name
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NAME
|
|
|
|
|
{
|
|
|
|
|
get { return _name; }
|
|
|
|
|
set { _name = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Boolean _leaf = true;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否有子项
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Boolean leaf
|
|
|
|
|
{
|
|
|
|
|
get { return _leaf; }
|
|
|
|
|
set { _leaf = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Boolean _expanded = true;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否展开
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Boolean expanded
|
|
|
|
|
{
|
|
|
|
|
get { return _expanded; }
|
|
|
|
|
set { _expanded = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Decimal _DR = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// DR
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Decimal DR
|
|
|
|
|
{
|
|
|
|
|
get { return _DR; }
|
|
|
|
|
set { _DR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Decimal _CR = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CR
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Decimal CR
|
|
|
|
|
{
|
|
|
|
|
get { return _CR; }
|
|
|
|
|
set { _CR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Decimal _PFADR = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 损益类科目本年累计数借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Decimal PFADR
|
|
|
|
|
{
|
|
|
|
|
get { return _PFADR; }
|
|
|
|
|
set { _PFADR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Decimal _PFACR = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 损益类科目本年累计数贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Decimal PFACR
|
|
|
|
|
{
|
|
|
|
|
get { return _PFACR; }
|
|
|
|
|
set { _PFACR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _STARTMONTH = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 启用账套的年月
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string STARTMONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _STARTMONTH; }
|
|
|
|
|
set { _STARTMONTH = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCIDNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// _ACCIDNAME
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCIDNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCIDNAME; }
|
|
|
|
|
set { _ACCIDNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCLNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// _ACCIDNAME
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCLNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCLNAME; }
|
|
|
|
|
set { _ACCLNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISBANK = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否银行类科目
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public bool ISBANK
|
|
|
|
|
{
|
|
|
|
|
get { return _ISBANK; }
|
|
|
|
|
set { _ISBANK = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|