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.
638 lines
15 KiB
C#
638 lines
15 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCwVouitemsGl
|
|
{
|
|
[JsonObject]
|
|
public class MsCwVouitemsGl : 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 _ordno = "";
|
|
/// <summary>
|
|
/// 关联cw_vouchers_gl
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ORDNO
|
|
{
|
|
get { return _ordno; }
|
|
set { _ordno = value; }
|
|
}
|
|
|
|
private int _itemno = 0;
|
|
/// <summary>
|
|
/// 行号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int ITEMNO
|
|
{
|
|
get { return _itemno; }
|
|
set { _itemno = value; }
|
|
}
|
|
|
|
private string _accid = "";
|
|
/// <summary>
|
|
/// 科目代码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCID
|
|
{
|
|
get { return _accid; }
|
|
set { _accid = value; }
|
|
}
|
|
|
|
private string _paccid = "";
|
|
/// <summary>
|
|
/// 父级科目代码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PACCID
|
|
{
|
|
get { return _paccid; }
|
|
set { _paccid = value; }
|
|
}
|
|
|
|
private string _accname = "";
|
|
/// <summary>
|
|
/// 科目名称
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCNAME
|
|
{
|
|
get { return _accname; }
|
|
set { _accname = value; }
|
|
}
|
|
|
|
private int _property = 0;
|
|
/// <summary>
|
|
/// 科目属性
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public int PROPERTY
|
|
{
|
|
get { return _property; }
|
|
set { _property = value; }
|
|
}
|
|
|
|
private int _grade = 0;
|
|
/// <summary>
|
|
/// 科目级别
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public int GRADE
|
|
{
|
|
get { return _grade; }
|
|
set { _grade = value; }
|
|
}
|
|
|
|
private string _dc = "";
|
|
/// <summary>
|
|
/// 借贷方向
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DC
|
|
{
|
|
get { return _dc; }
|
|
set { _dc = value; }
|
|
}
|
|
|
|
private decimal _amtdr = 0;
|
|
/// <summary>
|
|
/// 本位币借方金额(互斥)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal AMTDR
|
|
{
|
|
get { return _amtdr; }
|
|
set { _amtdr = value; }
|
|
}
|
|
|
|
private decimal _amtcr = 0;
|
|
/// <summary>
|
|
/// 本位币贷方金额(互斥)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal AMTCR
|
|
{
|
|
get { return _amtcr; }
|
|
set { _amtcr = value; }
|
|
}
|
|
|
|
private bool _isfcy = false;
|
|
/// <summary>
|
|
/// 是否外币
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISFCY
|
|
{
|
|
get { return _isfcy; }
|
|
set { _isfcy = value; }
|
|
}
|
|
|
|
private string _fcyno = "RMB";
|
|
/// <summary>
|
|
/// 外币编号usd
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FCYNO
|
|
{
|
|
get { return _fcyno; }
|
|
set { _fcyno = value; }
|
|
}
|
|
|
|
private decimal _fcyexrate = 0;
|
|
/// <summary>
|
|
/// 汇率
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FCYEXRATE
|
|
{
|
|
get { return _fcyexrate; }
|
|
set { _fcyexrate = value; }
|
|
}
|
|
|
|
private decimal _fcydr = 0;
|
|
/// <summary>
|
|
/// 外币借方金额
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FCYDR
|
|
{
|
|
get { return _fcydr; }
|
|
set { _fcydr = value; }
|
|
}
|
|
|
|
private decimal _fcycr = 0;
|
|
/// <summary>
|
|
/// 外币贷方金额
|
|
/// </summary>
|
|
[ModelDB]
|
|
public decimal FCYCR
|
|
{
|
|
get { return _fcycr; }
|
|
set { _fcycr = value; }
|
|
}
|
|
|
|
private string _qtyunit = "";
|
|
/// <summary>
|
|
/// 数量包装单位
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string QTYUNIT
|
|
{
|
|
get { return _qtyunit; }
|
|
set { _qtyunit = value; }
|
|
}
|
|
|
|
private decimal _qtydr = 0;
|
|
/// <summary>
|
|
/// 借方数量
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public decimal QTYDR
|
|
{
|
|
get { return _qtydr; }
|
|
set { _qtydr = value; }
|
|
}
|
|
|
|
private decimal _qtycr = 0;
|
|
/// <summary>
|
|
/// 贷方数量
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public decimal QTYCR
|
|
{
|
|
get { return _qtycr; }
|
|
set { _qtycr = value; }
|
|
}
|
|
|
|
private string _explan = "";
|
|
/// <summary>
|
|
/// 摘要,规则生成
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string EXPLAN
|
|
{
|
|
get { return _explan; }
|
|
set { _explan = 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 _deptid = "";
|
|
/// <summary>
|
|
/// 部门(系统)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DEPTID
|
|
{
|
|
get { return _deptid; }
|
|
set { _deptid = value; }
|
|
}
|
|
|
|
private string _emplid = "";
|
|
/// <summary>
|
|
/// 人员(系统)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string EMPLID
|
|
{
|
|
get { return _emplid; }
|
|
set { _emplid = value; }
|
|
}
|
|
|
|
private string _corpid = "";
|
|
/// <summary>
|
|
/// 客户(系统)
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CORPID
|
|
{
|
|
get { return _corpid; }
|
|
set { _corpid = value; }
|
|
}
|
|
|
|
private int _pitemid = 0;
|
|
/// <summary>
|
|
/// 父级项目编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public int PITEMID
|
|
{
|
|
get { return _pitemid; }
|
|
set { _pitemid = value; }
|
|
}
|
|
|
|
private string _itemid = "";
|
|
/// <summary>
|
|
/// 项目编号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ITEMID
|
|
{
|
|
get { return _itemid; }
|
|
set { _itemid = value; }
|
|
}
|
|
|
|
private string _field10 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD10
|
|
{
|
|
get { return _field10; }
|
|
set { _field10 = value; }
|
|
}
|
|
|
|
private string _field9 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD9
|
|
{
|
|
get { return _field9; }
|
|
set { _field9 = value; }
|
|
}
|
|
|
|
private string _field8 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD8
|
|
{
|
|
get { return _field8; }
|
|
set { _field8 = value; }
|
|
}
|
|
|
|
private string _field7 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD7
|
|
{
|
|
get { return _field7; }
|
|
set { _field7 = value; }
|
|
}
|
|
|
|
private string _field6 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD6
|
|
{
|
|
get { return _field6; }
|
|
set { _field6 = value; }
|
|
}
|
|
|
|
private string _field5 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD5
|
|
{
|
|
get { return _field5; }
|
|
set { _field5 = value; }
|
|
}
|
|
|
|
private string _field4 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD4
|
|
{
|
|
get { return _field4; }
|
|
set { _field4 = value; }
|
|
}
|
|
|
|
private string _field3 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD3
|
|
{
|
|
get { return _field3; }
|
|
set { _field3 = value; }
|
|
}
|
|
|
|
private string _field2 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD2
|
|
{
|
|
get { return _field2; }
|
|
set { _field2 = value; }
|
|
}
|
|
|
|
private string _field1 = "";
|
|
/// <summary>
|
|
/// 预留字段1
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string FIELD1
|
|
{
|
|
get { return _field1; }
|
|
set { _field1 = value; }
|
|
}
|
|
|
|
private bool _issys = false;
|
|
/// <summary>
|
|
/// 是否手动录入
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public bool ISSYS
|
|
{
|
|
get { return _issys; }
|
|
set { _issys = value; }
|
|
}
|
|
|
|
private string _fsettlcode = "";
|
|
/// <summary>
|
|
/// 结算方式
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FSETTLCODE
|
|
{
|
|
get { return _fsettlcode; }
|
|
set { _fsettlcode = value; }
|
|
}
|
|
|
|
private DateTime _FSETTLDATE = DateTime.Now;
|
|
/// <summary>
|
|
/// 结算日期
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime FSETTLDATE
|
|
{
|
|
get { return _FSETTLDATE; }
|
|
set { _FSETTLDATE = value; }
|
|
}
|
|
|
|
private string _fsettleno = "";
|
|
/// <summary>
|
|
/// 财务辅助编号
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string FSETTLENO
|
|
{
|
|
get { return _fsettleno; }
|
|
set { _fsettleno = value; }
|
|
}
|
|
|
|
private string _CREATEUSER = "";
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string CREATEUSER
|
|
{
|
|
get { return _CREATEUSER; }
|
|
set { _CREATEUSER = value; }
|
|
}
|
|
|
|
private DateTime _CREATEtime = DateTime.Now;
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public DateTime CREATETIME
|
|
{
|
|
get { return _CREATEtime; }
|
|
set { _CREATEtime = value; }
|
|
}
|
|
|
|
private string _modifieduser = "";
|
|
/// <summary>
|
|
/// 最后一次更新操作人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _modifieduser; }
|
|
set { _modifieduser = value; }
|
|
}
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
/// <summary>
|
|
/// 最后一次更新操作时间
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime MODIFIEDTIME
|
|
{
|
|
get { return _modifiedtime; }
|
|
set { _modifiedtime = value; }
|
|
}
|
|
|
|
private string _customername = "";
|
|
/// <summary>
|
|
/// CUSTOMERNAME
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CUSTOMERNAME
|
|
{
|
|
get { return _customername; }
|
|
set { _customername = value; }
|
|
}
|
|
|
|
private string _sale = "";
|
|
/// <summary>
|
|
/// SALE
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string SALE
|
|
{
|
|
get { return _sale; }
|
|
set { _sale = value; }
|
|
}
|
|
|
|
private string _blno = "";
|
|
/// <summary>
|
|
/// BLNO
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string BLNO
|
|
{
|
|
get { return _blno; }
|
|
set { _blno = value; }
|
|
}
|
|
|
|
private string _ITEMGID = "";
|
|
/// <summary>
|
|
/// ITEMGID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ITEMGID
|
|
{
|
|
get { return _ITEMGID; }
|
|
set { _ITEMGID = value; }
|
|
}
|
|
|
|
private string _DEPTGID = "";
|
|
/// <summary>
|
|
/// DEPTGID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DEPTGID
|
|
{
|
|
get { return _DEPTGID; }
|
|
set { _DEPTGID = value; }
|
|
}
|
|
|
|
private string _ACCALL = "";
|
|
/// <summary>
|
|
/// ACCALL
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string ACCALL
|
|
{
|
|
get { return _ACCALL; }
|
|
set { _ACCALL = value; }
|
|
}
|
|
|
|
private decimal _FCYAMT = 0;
|
|
/// <summary>
|
|
/// 原币金额
|
|
/// </summary>
|
|
public decimal FCYAMT
|
|
{
|
|
get { return _FCYAMT; }
|
|
set { _FCYAMT = value; }
|
|
}
|
|
private string _cType;
|
|
/// <summary>
|
|
/// 凭证类型(收益、损失)
|
|
/// </summary>
|
|
public string cType
|
|
{
|
|
get { return _cType; }
|
|
set { _cType = value; }
|
|
}
|
|
|
|
private string _COPYGID = "";
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string COPYGID
|
|
{
|
|
get { return _COPYGID; }
|
|
set { _COPYGID = value; }
|
|
}
|
|
|
|
public string TMPBILLNO { get; set; }
|
|
public string TMPGID { get; set; }
|
|
|
|
#endregion
|
|
|
|
public MsCwVouitemsGl()
|
|
{
|
|
TableName = "cw_vouitems_gl";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
//
|
|
}
|