AfRApay/AfRApay.Web/Backend/Tables/User.cs

14 lines
550 B
C#
Raw Normal View History

2023-02-06 02:23:00 +01:00
using LinqToDB.Mapping;
#pragma warning disable CS8618
namespace AfRApay.Web.Backend.Tables;
[Table(Name = "Users")]
public class User {
2023-02-09 20:02:23 +01:00
[Column(Name = "ID"), PrimaryKey, Identity, NotNull] public int Id { get; set; }
[Column(Name = "Nickname"), NotNull] public string Nickname { get; set; }
2023-02-08 21:34:52 +01:00
[Column(Name = "Balance")] public int Balance { get; set; }
2023-02-09 20:02:23 +01:00
[Column(Name = "LastIdempotencyKey")] public string? LastIdempotencyKey { get; set; }
2023-02-06 02:23:00 +01:00
}