using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace TProduct.Model
|
{
|
public class LoginUser_Get : System.ICloneable
|
{
|
public LoginUser_Get() { }
|
|
public LoginUser_Get(LoginUser_Get rhs)
|
{
|
this.ID = rhs.ID;
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.LoginName = rhs.LoginName;
|
this.IsAdmin = rhs.IsAdmin;
|
this.Code = rhs.Code;
|
this.RealName = rhs.RealName;
|
this.TagName = rhs.TagName;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
this.LoginImg = rhs.LoginImg;
|
this.LastLoginTime = rhs.LastLoginTime;
|
this.QQ = rhs.QQ;
|
this.EMail = rhs.EMail;
|
this.Mobile = rhs.Mobile;
|
}
|
|
public void Reset(LoginUser_Get rhs)
|
{
|
this.ID = rhs.ID;
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.LoginName = rhs.LoginName;
|
this.IsAdmin = rhs.IsAdmin;
|
this.Code = rhs.Code;
|
this.RealName = rhs.RealName;
|
this.TagName = rhs.TagName;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
this.LoginImg = rhs.LoginImg;
|
this.LastLoginTime = rhs.LastLoginTime;
|
this.QQ = rhs.QQ;
|
this.EMail = rhs.EMail;
|
this.Mobile = rhs.Mobile;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
[Display(Name = "标识")]
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 创建用户标识
|
/// </summary>
|
[Display(Name = "创建用户标识")]
|
public long CreateUserID { get; set; }
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
[Display(Name = "创建时间")]
|
public DateTime CreateTime { get; set; }
|
|
/// <summary>
|
/// 编号
|
/// </summary>
|
[Display(Name = "编号")]
|
public string Code { get; set; }
|
|
/// <summary>
|
/// 登录名称
|
/// </summary>
|
[Display(Name = "登录名称")]
|
public string LoginName { get; set; }
|
|
/// <summary>
|
/// 真实名称
|
/// </summary>
|
[Display(Name = "真实名称")]
|
public string RealName { get; set; }
|
|
/// <summary>
|
/// 是否为管理员
|
/// </summary>
|
[Display(Name = "是否为管理员")]
|
public bool IsAdmin { get; set; }
|
|
/// <summary>
|
/// 手机号码
|
/// </summary>
|
[Display(Name = "手机号码")]
|
public string Telephone { get; set; }
|
|
|
|
|
|
/// <summary>
|
/// 上次登录时间
|
/// </summary>
|
[Display(Name = "上次登录时间")]
|
public DateTime? LastLoginTime { get; set; }
|
|
public LoginUser_Get Clone()
|
{
|
return (LoginUser_Get)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|