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.

133 lines
3.0 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsInfoClient
{
[JsonObject]
public class MsInfoClientWebUser : 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 _CUSTNAME = "";
public string CUSTNAME
{
get { return _CUSTNAME; }
set { _CUSTNAME = value; }
}
private string _LOGINNAME = "";
/// <summary>
/// 登陆名
/// </summary>
[ModelDB]
public string LOGINNAME
{
get { return _LOGINNAME; }
set { _LOGINNAME = value; }
}
private string _LOGINPASSWORD = "";
/// <summary>
/// 登陆秘钥
/// </summary>
[ModelDB]
public string LOGINPASSWORD
{
get { return _LOGINPASSWORD; }
set { _LOGINPASSWORD = value; }
}
private string _REMARK = "";
/// <summary>
/// </summary>
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
private bool _ISSTOP =false;
/// <summary>
/// </summary>
[ModelDB]
public bool ISSTOP
{
get { return _ISSTOP; }
set { _ISSTOP = value; }
}
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd");
/// <summary>
/// 创建时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _CREATEUSER = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
private string _CREATEUSERREF = "";
/// <summary>
/// 录入人
/// </summary>
public string CREATEUSERREF
{
get { return _CREATEUSERREF; }
set { _CREATEUSERREF = value; }
}
private string _MODIFIEDUSER = "";
private string _MODIFIEDTIME = "";
[ModelDB]
public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } }
[ModelDB]
public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } }
#endregion
public MsInfoClientWebUser()
{
TableName = "info_client_web_user";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}