20 lines
555 B
C#
Raw Permalink Normal View History

2025-02-19 20:10:10 +08:00
namespace TCM_API.Entities;
using MessagePack;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
public class User
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int id { get; set; }
public string? firstname { get; set; }
public string? lastname { get; set; }
public string? email { get; set; }
public string? username { get; set; }
public string? level { get; set; }
public string? guid { get; set; }
[JsonIgnore]
public string? password { get; set; }
}