using Yw.Model; namespace HStation.Model { [SysType("xhs_employeemain")] public class EmployeeMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable { public EmployeeMain() { } public EmployeeMain(EmployeeMain rhs) { this.ID = rhs.ID; this.ErpCode = rhs.ErpCode;//编号 this.PositonName = rhs.PositonName;//职位名 this.FirstName = rhs.FirstName;//姓名(英文就是第一个名) this.LastName = rhs.LastName;//姓名(英文名,才会用到) this.StaffStatus = rhs.StaffStatus;//在职状态 1 在职 0 离职 this.Telephone = rhs.Telephone;//手机号 this.DrawSignal = rhs.DrawSignal;//签名 this.Email = rhs.Email;//电子邮箱 this.AddTime = rhs.AddTime;//添加时间 this.AddUser = rhs.AddUser; this.RequirePasswordReset = rhs.RequirePasswordReset;//登录时是否必须重置密码 this.LastModifyUser = rhs.LastModifyUser; this.LastModifyTime = rhs.LastModifyTime;//最后修改时间 this.Paras = rhs.Paras; } public void Reset(EmployeeMain rhs) { this.ID = rhs.ID; this.ErpCode = rhs.ErpCode;//编号 this.PositonName = rhs.PositonName;//职位名 this.FirstName = rhs.FirstName;//姓名(英文就是第一个名) this.LastName = rhs.LastName;//姓名(英文名,才会用到) this.StaffStatus = rhs.StaffStatus;//在职状态 1 在职 0 离职 this.Telephone = rhs.Telephone;//手机号 this.DrawSignal = rhs.DrawSignal;//签名 this.Email = rhs.Email;//电子邮箱 this.AddTime = rhs.AddTime;//添加时间 this.AddUser = rhs.AddUser; this.RequirePasswordReset = rhs.RequirePasswordReset;//登录时是否必须重置密码 this.LastModifyUser = rhs.LastModifyUser; this.LastModifyTime = rhs.LastModifyTime;//最后修改时间 this.Paras = rhs.Paras; } /// /// 编号 /// public string ErpCode { get; set; } /// /// 职位名 /// public string PositonName { get; set; } /// /// 姓名(英文就是第一个名) /// public string FirstName { get; set; } /// /// 在职状态 1 在职 0 离职 /// public int StaffStatus { get; set; } /// /// 手机号 /// public string Telephone { get; set; } /// /// 添加时间 /// public DateTime AddTime { get; set; } /// /// 添加用户 /// public string AddUser { get; set; } /// /// 姓名(英文名,才会用到) /// public string LastName { get; set; } /// /// 登录时是否必须重置密码 /// public int RequirePasswordReset { get; set; } /// /// 图纸上的签名 /// public string DrawSignal { get; set; } /// /// 电子邮箱 /// public string Email { get; set; } /// /// 最后修改用户 /// public string LastModifyUser { get; set; } /// /// 最后修改时间 /// public string LastModifyTime { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标志 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } public EmployeeMain Clone() { return (EmployeeMain)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }