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.

178 lines
4.3 KiB
C#

11 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwCurrencyRate
{
[JsonObject]
public class MsCwCurrencyRate : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 惟一值
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _linkgid = "";
/// <summary>
/// 货币GID
/// </summary>
[ModelDB]
public string LINKGID
{
get { return _linkgid; }
set { _linkgid = value; }
}
private string _accdate = "";
/// <summary>
/// 会计期间
/// </summary>
[ModelDB]
public string ACCDATE
{
get { return _accdate; }
set { _accdate = value; }
}
private decimal _begrate = 0;
/// <summary>
/// 期初汇率
/// </summary>
[ModelDB]
public decimal BEGRATE
{
get { return _begrate; }
set { _begrate = value; }
}
private decimal _endrate = 0;
/// <summary>
/// 期末汇率
/// </summary>
[ModelDB]
public decimal ENDRATE
{
get { return _endrate; }
set { _endrate = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司GID
/// </summary>
[ModelDB]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _createuser = "";
/// <summary>
/// 创建人GID
/// </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>
/// 最后一次更改操作人GID
/// </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 bool _isdelete = false;
/// <summary>
/// 是否删除
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool ISDELETE
{
get { return _isdelete; }
set { _isdelete = value; }
}
private string _deleteuser = "";
/// <summary>
/// 删除人GID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string DELETEUSER
{
get { return _deleteuser; }
set { _deleteuser = value; }
}
private DateTime _deletetime = DateTime.Now;
/// <summary>
/// 删除时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime DELETETIME
{
get { return _deletetime; }
set { _deletetime = value; }
}
private string _STARTGID = "";
/// <summary>
/// 总账已启用已登录账套GID
/// </summary>
[ModelDB]
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
#endregion
public MsCwCurrencyRate()
{
TableName = "cw_currency_rate";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}