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.

222 lines
4.9 KiB
C#

10 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwVouitemsGl
{
[JsonObject]
public class MsCwVouitemsGlLs : 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 _accname = "";
/// <summary>
/// 科目名称
/// </summary>
[ModelDB]
public string ACCNAME
{
get { return _accname; }
set { _accname = 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 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 string _explan = "";
/// <summary>
/// 摘要,规则生成
/// </summary>
[ModelDB]
public string EXPLAN
{
get { return _explan; }
set { _explan = 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 string _itemid = "";
/// <summary>
/// 项目编号
/// </summary>
[ModelDB]
public string ITEMID
{
get { return _itemid; }
set { _itemid = 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; }
}
#endregion
public MsCwVouitemsGlLs()
{
TableName = "cw_vouitems_gl";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}