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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCwAccitemsCurrency/MsCwAccitemsCurrency.cs

90 lines
2.1 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwAccitemsCurrency
{
[JsonObject]
public class MsCwAccitemsCurrency : ModelObjectBillHead
{
#region 读写属性
private string _gid = Guid.NewGuid().ToString();
/// <summary>
/// 唯一编码
/// </summary>
[ModelDB]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _linkgid = "";
/// <summary>
/// 科目GID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string LINKGID
{
get { return _linkgid; }
set { _linkgid = value; }
}
private string _currency = "";
/// <summary>
/// 币别
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CURRENCY
{
get { return _currency; }
set { _currency = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private string _createuser = "";
/// <summary>
/// 创建人gid
/// </summary>
[ModelDB]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
/// <summary>
/// 创建时间
/// </summary>
[ModelDB]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
#endregion
public MsCwAccitemsCurrency()
{
TableName = "cw_accitems_currency";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}