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;
}
///
/// 标识
///
[Display(Name = "标识")]
public long ID { get; set; }
///
/// 创建用户标识
///
[Display(Name = "创建用户标识")]
public long CreateUserID { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
public DateTime CreateTime { get; set; }
///
/// 编号
///
[Display(Name = "编号")]
public string Code { get; set; }
///
/// 登录名称
///
[Display(Name = "登录名称")]
public string LoginName { get; set; }
///
/// 真实名称
///
[Display(Name = "真实名称")]
public string RealName { get; set; }
///
/// 是否为管理员
///
[Display(Name = "是否为管理员")]
public bool IsAdmin { get; set; }
///
/// 手机号码
///
[Display(Name = "手机号码")]
public string Telephone { get; set; }
///
/// 上次登录时间
///
[Display(Name = "上次登录时间")]
public DateTime? LastLoginTime { get; set; }
public LoginUser_Get Clone()
{
return (LoginUser_Get)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}