|
|
|
|
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();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _year = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YEAR
|
|
|
|
|
{
|
|
|
|
|
get { return _year; }
|
|
|
|
|
set { _year = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _month = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 月
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _month; }
|
|
|
|
|
set { _month = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _linkgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 科目GID(cw_accitems_gl)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LINKGID
|
|
|
|
|
{
|
|
|
|
|
get { return _linkgid; }
|
|
|
|
|
set { _linkgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _deptacc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核算部门
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DEPTACC
|
|
|
|
|
{
|
|
|
|
|
get { return _deptacc; }
|
|
|
|
|
set { _deptacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _emplacc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核算人员
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string EMPLACC
|
|
|
|
|
{
|
|
|
|
|
get { return _emplacc; }
|
|
|
|
|
set { _emplacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpacc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核算客户
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CORPACC
|
|
|
|
|
{
|
|
|
|
|
get { return _corpacc; }
|
|
|
|
|
set { _corpacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _itemacc = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核算项目
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ITEMACC
|
|
|
|
|
{
|
|
|
|
|
get { return _itemacc; }
|
|
|
|
|
set { _itemacc = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _currency = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 币别
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CURRENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _currency; }
|
|
|
|
|
set { _currency = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _DR = "0";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// DR
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DR
|
|
|
|
|
{
|
|
|
|
|
get { return _DR; }
|
|
|
|
|
set { _DR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CR = "0";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CR
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CR
|
|
|
|
|
{
|
|
|
|
|
get { return _CR; }
|
|
|
|
|
set { _CR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Boolean _ISENABLE = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否启用
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Boolean ISENABLE
|
|
|
|
|
{
|
|
|
|
|
get { return _ISENABLE; }
|
|
|
|
|
set { _ISENABLE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _PFADR = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 损益类科目本年累计数借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal PFADR
|
|
|
|
|
{
|
|
|
|
|
get { return _PFADR; }
|
|
|
|
|
set { _PFADR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _PFACR = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 损益类科目本年累计数贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal PFACR
|
|
|
|
|
{
|
|
|
|
|
get { return _PFACR; }
|
|
|
|
|
set { _PFACR = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ACCDATE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计期间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _ACCDATE; }
|
|
|
|
|
set { _ACCDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Boolean _IsInitialEntry = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否期初录入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public Boolean IsInitialEntry
|
|
|
|
|
{
|
|
|
|
|
get { return _IsInitialEntry; }
|
|
|
|
|
set { _IsInitialEntry = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _STARTGID = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 启用期间GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STARTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _STARTGID; }
|
|
|
|
|
set { _STARTGID = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsCwGenlegAccitemsLs()
|
|
|
|
|
{
|
|
|
|
|
TableName = "cw_genleg_accitems";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
}
|