SCHALE.GameServer/SCHALE.Common/Database/Models/Account.cs

16 lines
486 B
C#
Raw Normal View History

2024-04-18 07:12:10 +00:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SCHALE.Common.Database.Models
{
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
public class Account
{
[Key]
[Column("_id")]
public uint Uid { get; set; }
public string DeviceId { get; set; }
public string Token { get; set; }
}
}