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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCwAccitemsGl/MsCwGenlegAccitems.cs

281 lines
6.5 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwAccitems
{
[JsonObject]
public class MsCwAccitems : 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 _ACCTYPE = "";
/// <summary>
/// 科目类别
/// </summary>
[ModelDB]
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; }
}
#endregion
public MsCwAccitems()
{
TableName = "cw_accitems_gl";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}