public SysRole(SysRoleDto roleDto) : this() { RoleName = roleDto.RoleName; Enabled = roleDto.Enabled; RoleCode = roleDto.RoleCode; Remark = roleDto.Remark; AdminRemark = roleDto.AdminRemark; }
public void Update(SysRoleDto roleDto) { LastUpdateTime = DateTime.Now; RoleName = roleDto.RoleName; RoleCode = roleDto.RoleCode; Enabled = roleDto.Enabled; Remark = roleDto.Remark; AdminRemark = roleDto.AdminRemark; }