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();
///
/// 唯一编码
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _itemcode = "";
///
/// 项目代码
///
[ModelDB]
public string ITEMCODE
{
get { return _itemcode; }
set { _itemcode = value; }
}
private string _itemname = "";
///
/// 项目名称
///
[ModelDB]
public string ITEMNAME
{
get { return _itemname; }
set { _itemname = value; }
}
private string _FINANCESOFTCODE = "";
///
/// 财务软件代码
///
[ModelDB]
public string FINANCESOFTCODE
{
get { return _FINANCESOFTCODE; }
set { _FINANCESOFTCODE = value; }
}
private string _corpid = "";
///
/// CORPID
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get { return _corpid; }
set { _corpid = value; }
}
private bool _isdelete = false;
///
/// 是否删除
///
public bool ISDELETE
{
get { return _isdelete; }
set { _isdelete = value; }
}
private string _deleteuser = "";
///
/// 删除人
///
public string DELETEUSER
{
get { return _deleteuser; }
set { _deleteuser = value; }
}
private DateTime _deletetime;
///
/// 删除时间
///
public DateTime DELETETIME
{
get { return _deletetime; }
set { _deletetime = value; }
}
private string _createuser = "";
///
/// 创建人gid
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
///
/// 创建时间
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _modifieduser = "";
///
/// 最后一次更新操作人GID
///
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
///
/// 最后一次更改时间
///
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private string _MODIFIEDUSERNAME = "";
///
/// 最后一次更新操作人
///
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private string _STARTGID = "";
///
/// 总账已启用已登录账套GID
///
[ModelDB]
public string STARTGID
{
get { return _STARTGID; }
set { _STARTGID = value; }
}
#endregion
public MsCwItem()
{
TableName = "cw_item";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}