2023-12-06 13:11:11 +00:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
namespace backend.Models;
|
|
|
|
|
|
|
|
public class User
|
|
|
|
{
|
|
|
|
[Key]
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
public string Username { get; set; }
|
|
|
|
public string Password { get; set; }
|
|
|
|
public string TouchCode { get; set; }
|
2023-12-08 00:05:55 +00:00
|
|
|
public string? SessionToken { get; set; }
|
2023-12-06 13:11:11 +00:00
|
|
|
}
|