using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwGenlegAccitemsLs
{
[JsonObject]
public class MsCwGenlegAccitemsLs : ModelObjectBillHead
{
#region 读写属性
private string _gid = Guid.NewGuid().ToString();
///
/// 唯一编码
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _year = "";
///
/// 年
///
[ModelDB]
public string YEAR
{
get { return _year; }
set { _year = value; }
}
private string _month = "";
///
/// 月
///
[ModelDB]
public string MONTH
{
get { return _month; }
set { _month = value; }
}
private string _linkgid = "";
///
/// 科目GID(cw_accitems_gl)
///
[ModelDB]
public string LINKGID
{
get { return _linkgid; }
set { _linkgid = value; }
}
private string _deptacc = "";
///
/// 核算部门
///
[ModelDB]
public string DEPTACC
{
get { return _deptacc; }
set { _deptacc = value; }
}
private string _emplacc = "";
///
/// 核算人员
///
[ModelDB]
public string EMPLACC
{
get { return _emplacc; }
set { _emplacc = value; }
}
private string _corpacc = "";
///
/// 核算客户
///
[ModelDB]
public string CORPACC
{
get { return _corpacc; }
set { _corpacc = value; }
}
private string _itemacc = "";
///
/// 核算项目
///
[ModelDB]
public string ITEMACC
{
get { return _itemacc; }
set { _itemacc = value; }
}
private string _currency = "";
///
/// 币别
///
[ModelDB]
public string CURRENCY
{
get { return _currency; }
set { _currency = value; }
}
private string _DR = "0";
///
/// DR
///
public string DR
{
get { return _DR; }
set { _DR = value; }
}
private string _CR = "0";
///
/// CR
///
public string CR
{
get { return _CR; }
set { _CR = value; }
}
private Boolean _ISENABLE = false;
///
/// 是否启用
///
public Boolean ISENABLE
{
get { return _ISENABLE; }
set { _ISENABLE = value; }
}
private decimal _PFADR = 0;
///
/// 损益类科目本年累计数借方
///
[ModelDB]
public decimal PFADR
{
get { return _PFADR; }
set { _PFADR = value; }
}
private decimal _PFACR = 0;
///
/// 损益类科目本年累计数贷方
///
[ModelDB]
public decimal PFACR
{
get { return _PFACR; }
set { _PFACR = value; }
}
private string _ACCDATE = "";
///
/// 会计期间
///
[ModelDB]
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = value; }
}
private Boolean _IsInitialEntry = false;
///
/// 是否期初录入
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public Boolean IsInitialEntry
{
get { return _IsInitialEntry; }
set { _IsInitialEntry = value; }
}
private string _STARTGID = "";
///
/// 启用期间GID
///
[ModelDB]
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
#endregion
public MsCwGenlegAccitemsLs()
{
TableName = "cw_genleg_accitems";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}