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