2020-04-24 12:46:25 +02:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using zero.Core.Entities;
|
|
|
|
|
|
|
|
|
|
namespace zero.Web.Models
|
|
|
|
|
{
|
2020-05-22 15:06:17 +02:00
|
|
|
public class UserRoleEditModel : ObsoleteEditModel
|
2020-04-24 12:46:25 +02:00
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Icon { get; set; }
|
|
|
|
|
|
2021-05-04 17:23:52 +02:00
|
|
|
// TODO use UserClaim and resolve to default type
|
2020-04-28 14:51:17 +02:00
|
|
|
// see here: http://www.dotnet-programming.com/post/2017/05/08/Aspnet-core-Deserializing-Json-with-Dependency-Injection.aspx
|
|
|
|
|
public List<UserClaim> Claims { get; set; }
|
2020-04-24 12:46:25 +02:00
|
|
|
}
|
|
|
|
|
}
|