You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

344 lines
8.0 KiB
C#

10 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwAccitemsGl
{
[JsonObject]
public class MsCwAccitemsGl : ModelObjectBillHead
{
#region 读写属性
private string _gid = Guid.NewGuid().ToString();
/// <summary>
/// 唯一编码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _accid = "";
/// <summary>
/// 科目代码
/// </summary>
[ModelDB]
public string ACCID
{
get { return _accid; }
set { _accid = value; }
}
private string _accname = "";
/// <summary>
/// 科目名称
/// </summary>
[ModelDB]
public string ACCNAME
{
get { return _accname; }
set { _accname = value; }
}
private bool _detailed = false;
/// <summary>
/// 末级科目(标志)
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
public bool DETAILED
{
get { return _detailed; }
set { _detailed = value; }
}
private string _dc = "";
/// <summary>
/// 借贷方向
/// </summary>
[ModelDB]
public string DC
{
get { return _dc; }
set { _dc = value; }
}
private bool _isfcy = false;
/// <summary>
/// 是否核算外币
/// </summary>
[ModelDB]
public bool ISFCY
{
get { return _isfcy; }
set { _isfcy = value; }
}
private bool _isdeptacc = false;
/// <summary>
/// 是否核算部门
/// </summary>
[ModelDB]
public bool ISDEPTACC
{
get { return _isdeptacc; }
set { _isdeptacc = value; }
}
private bool _isemplacc = false;
/// <summary>
/// 是否核算人员
/// </summary>
[ModelDB]
public bool ISEMPLACC
{
get { return _isemplacc; }
set { _isemplacc = value; }
}
private bool _iscorpacc = false;
/// <summary>
/// 是否算客户门
/// </summary>
[ModelDB]
public bool ISCORPACC
{
get { return _iscorpacc; }
set { _iscorpacc = value; }
}
private bool _isitemacc = false;
/// <summary>
/// 是否核算项目
/// </summary>
[ModelDB]
public bool ISITEMACC
{
get { return _isitemacc; }
set { _isitemacc = value; }
}
private string _remarks = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARKS
{
get { return _remarks; }
set { _remarks = value; }
}
private string _year = "";
/// <summary>
/// 年
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
public string YEAR
{
get { return _year; }
set { _year = value; }
}
private string _month = "";
/// <summary>
/// 月
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
public string MONTH
{
get { return _month; }
set { _month = value; }
}
private string _paccgid = "";
/// <summary>
/// 父级科目代码
/// </summary>
[ModelDB]
public string PACCGID
{
get { return _paccgid; }
set { _paccgid = value; }
}
private string _accattribute = "";
/// <summary>
/// 科目属性(资产、负债、共同、权益、成本、损益)
/// </summary>
[ModelDB]
public string ACCATTRIBUTE
{
get { return _accattribute; }
set { _accattribute = value; }
}
private bool _isenable = false;
/// <summary>
/// 是否启用
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)]
public bool ISENABLE
{
get { return _isenable; }
set { _isenable = value; }
}
private string _STARTGID = "";
/// <summary>
/// 启用账套的GID
/// </summary>
[ModelDB]
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
private string _ACCTYPE = "";
/// <summary>
/// 科目类别
/// </summary>
[ModelDB]
public string ACCTYPE
{
get { return _ACCTYPE; }
set { _ACCTYPE = value; }
}
private string _PACCID = "";
/// <summary>
/// 父类科目ID
/// </summary>
public string PACCID
{
get { return _PACCID; }
set { _PACCID = 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 bool _ISBANK = false;
/// <summary>
/// 是否银行类科目
/// </summary>
[ModelDB]
public bool ISBANK
{
get { return _ISBANK; }
set { _ISBANK = value; }
}
private bool _ISSETTLEMENT = false;
/// <summary>
/// 是否结算类科目
/// </summary>
[ModelDB]
public bool ISSETTLEMENT
{
get { return _ISSETTLEMENT; }
set { _ISSETTLEMENT = value; }
}
#endregion
public MsCwAccitemsGl()
{
TableName = "cw_accitems_gl";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}