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/MsCwItem/MsCwItem.cs

174 lines
4.2 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwItem
{
[JsonObject]
public class MsCwItem : 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 _itemcode = "";
/// <summary>
/// 项目代码
/// </summary>
[ModelDB]
public string ITEMCODE
{
get { return _itemcode; }
set { _itemcode = value; }
}
private string _itemname = "";
/// <summary>
/// 项目名称
/// </summary>
[ModelDB]
public string ITEMNAME
{
get { return _itemname; }
set { _itemname = value; }
}
private string _FINANCESOFTCODE = "";
/// <summary>
/// 财务软件代码
/// </summary>
[ModelDB]
public string FINANCESOFTCODE
{
get { return _FINANCESOFTCODE; }
set { _FINANCESOFTCODE = value; }
}
private string _corpid = "";
/// <summary>
/// CORPID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private bool _isdelete = false;
/// <summary>
/// 是否删除
/// </summary>
public bool ISDELETE
{
get { return _isdelete; }
set { _isdelete = value; }
}
private string _deleteuser = "";
/// <summary>
/// 删除人
/// </summary>
public string DELETEUSER
{
get { return _deleteuser; }
set { _deleteuser = value; }
}
private DateTime _deletetime;
/// <summary>
/// 删除时间
/// </summary>
public DateTime DELETETIME
{
get { return _deletetime; }
set { _deletetime = 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 string _MODIFIEDUSERNAME = "";
/// <summary>
/// 最后一次更新操作人
/// </summary>
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private string _STARTGID = "";
/// <summary>
/// 总账已启用已登录账套GID
/// </summary>
[ModelDB]
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
#endregion
public MsCwItem()
{
TableName = "cw_item";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}