public Object Clone() { SysUserPub obj = new SysUserPub(); obj.UserCode = this.UserCode; obj.UserName = this.UserName; obj.LoginName = this.LoginName; obj.PASSWORD = this.PASSWORD; obj.DeptCode = this.DeptCode; obj.DeptName = this.DeptName; obj.PHONE = this.PHONE; obj.EMAIL = this.EMAIL; obj.WECHAT = this.WECHAT; obj.ACTIVE = this.ACTIVE; obj.CreateTime = this.CreateTime; obj.CreateBy = this.CreateBy; obj.UpdateTime = this.UpdateTime; obj.IpAddress = this.IpAddress; obj.ROLE = this.ROLE; obj.ChangepwdFlag = this.ChangepwdFlag; obj.MachineId = this.MachineId; obj.SystemDefine = this.SystemDefine; return(obj); }
public void CopyTo(SysUserPub obj) { obj.UserCode = this.UserCode; obj.UserName = this.UserName; obj.LoginName = this.LoginName; obj.PASSWORD = this.PASSWORD; obj.DeptCode = this.DeptCode; obj.DeptName = this.DeptName; obj.PHONE = this.PHONE; obj.EMAIL = this.EMAIL; obj.WECHAT = this.WECHAT; obj.ACTIVE = this.ACTIVE; obj.CreateTime = this.CreateTime; obj.CreateBy = this.CreateBy; obj.UpdateTime = this.UpdateTime; obj.IpAddress = this.IpAddress; obj.ROLE = this.ROLE; obj.ChangepwdFlag = this.ChangepwdFlag; obj.MachineId = this.MachineId; obj.SystemDefine = this.SystemDefine; }