2024-11-02 20:55:08 +08:00

46 lines
1.0 KiB
C#

using System.ComponentModel;
using System.Reflection.Metadata;
using asg_form.Controllers;
using asg_form.Controllers.Team;
using Microsoft.AspNetCore.Identity;
namespace asg_form
{
public class User : IdentityUser<long>
{
public string? UserBase64 { get; set; }
[DefaultValue(0)]
public long? Integral { get; set; }
//public string? CreationTime { get; set; }
public form? haveform { get; set; }
public T_Team? myteam { get; set; }
public bool? isbooking { get; set; }
public string? chinaname { get; set; }
public string? officium { get; set; }
public string? qqnumber { get; set; }
public int? point { get; set; }
//public bool isadmin { get; set; }
//public List<string>? Roles { get; set; }
public string? roleListName { get; set; }
public string? roleListCode { get; set; }
}
public class Role : IdentityRole<long>
{
public string? msg { get; set; }
}
}