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.

210 lines
4.9 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.SysMng.Models.USERINFO
{
/// <summary>
/// 修改个人信息
/// </summary>
[JsonObject]
public class USERmb : ModelObjectBillHead
{
#region private Fields
private string _GID = String.Empty;
private string _SHOWNAME = String.Empty;
private string _PASSWORD = String.Empty;
private string _PASSWORD2 = String.Empty;
private string _OLDPASSWORD = String.Empty;
private string _USERNAME = String.Empty;
private string _DJY_CODENAME = String.Empty;
private string _DJY_PASSWORD = String.Empty;
private string _DJY_PASSWORD2 = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string SHOWNAME
{
get { return _SHOWNAME; }
set { _SHOWNAME = value; }
}
[ModelDB]
public string USERNAME
{
get { return _USERNAME; }
set { _USERNAME = value; }
}
[ModelDB]
public string PASSWORD
{
get { return _PASSWORD; }
set { _PASSWORD = value; }
}
public string PASSWORD2
{
get { return _PASSWORD2; }
set { _PASSWORD2 = value; }
}
public string OLDPASSWORD
{
get { return _OLDPASSWORD; }
set { _OLDPASSWORD = value; }
}
[ModelDB]
public string DJY_CODENAME
{
get { return _DJY_CODENAME; }
set { _DJY_CODENAME = value; }
}
[ModelDB]
public string DJY_PASSWORD
{
get { return _DJY_PASSWORD; }
set { _DJY_PASSWORD = value; }
}
public string DJY_PASSWORD2
{
get { return _DJY_PASSWORD2; }
set { _DJY_PASSWORD2 = value; }
}
//[ModelDB]
//public string MODIFYPASSTIME {get;set;}
#endregion
public USERmb()
{
TableName = "[USER]";
}
override public string GetBillNoFieldName()
{
return "GID";
}
override public string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class USERINFOmb : ModelObjectBillBody
{
#region private Fields
private string _GID = String.Empty;
private string _USERID = string.Empty;
private string _OFFICEPHONE = string.Empty;
private string _HOMEPHONE = string.Empty;
private string _MOBILE = string.Empty;
private string _FAX = string.Empty;
private string _EMAIL1 = string.Empty;
private string _EMAIL2 = string.Empty;
private string _HOMEADDRESS = string.Empty;
private string _QQ = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string USERID
{
get { return _USERID; }
set { _USERID = value; }
}
[ModelDB]
public string OFFICEPHONE
{
get { return _OFFICEPHONE; }
set { _OFFICEPHONE = value; }
}
[ModelDB]
public string HOMEPHONE
{
get { return _HOMEPHONE; }
set { _HOMEPHONE = value; }
}
[ModelDB]
public string MOBILE
{
get { return _MOBILE; }
set { _MOBILE = value; }
}
[ModelDB]
public string FAX
{
get { return _FAX; }
set { _FAX = value; }
}
[ModelDB]
public string EMAIL1
{
get { return _EMAIL1; }
set { _EMAIL1 = value; }
}
[ModelDB]
public string EMAIL2
{
get { return _EMAIL2; }
set { _EMAIL2 = value; }
}
[ModelDB]
public string HOMEADDRESS
{
get { return _HOMEADDRESS; }
set { _HOMEADDRESS = value; }
}
[ModelDB]
public string QQ
{
get { return _QQ; }
set { _QQ = value; }
}
#endregion
public USERINFOmb()
{
TableName = "USER_BASEINFO";
}
override public string GetBillNoFieldName()
{
return "USERID";
}
override public string GetTimeMarkFieldName()
{
return "";
}
}
#region 参照部分
#endregion
}