Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 421 Bytes
using System.ComponentModel.DataAnnotations;
namespace SimpleJwt4Core22.ViewModels
{
public class MakeTokenViewModel
{
[Required]
public int Id { get; set; }
[Required]
public string UserName { get; set; }
[Required]
public string Role { get; set; }
// To siumulate login or other failure:
public bool Fail { get; set; }
}
}
You can’t perform that action at this time.