server-master/srcs/_plugins/Plugin.DB.EF/Auth/ClientVersion/AuthorizedClientVersionEntity.cs
2026-02-10 18:21:30 +01:00

28 lines
No EOL
725 B
C#

// WingsEmu
//
// Developed by NosWings Team
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using PhoenixLib.DAL.EFCore.PGSQL;
using Plugin.Database.DB;
namespace Plugin.Database.Auth.ClientVersion
{
[Table("authorized_client_versions", Schema = DatabaseSchemas.CONFIG_AUTH)]
public class AuthorizedClientVersionEntity : ILongEntity
{
[Required]
public string ClientVersion { get; set; }
[Required]
public string ExecutableHash { get; set; }
[Required]
public string DllHash { get; set; }
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
}
}