示例#1
0
 public SysRole(SysRoleDto roleDto) : this()
 {
     RoleName    = roleDto.RoleName;
     Enabled     = roleDto.Enabled;
     RoleCode    = roleDto.RoleCode;
     Remark      = roleDto.Remark;
     AdminRemark = roleDto.AdminRemark;
 }
示例#2
0
 public void Update(SysRoleDto roleDto)
 {
     LastUpdateTime = DateTime.Now;
     RoleName       = roleDto.RoleName;
     RoleCode       = roleDto.RoleCode;
     Enabled        = roleDto.Enabled;
     Remark         = roleDto.Remark;
     AdminRemark    = roleDto.AdminRemark;
 }