2023-09-10 12:20:35 +02:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Metadata.Internal;
|
2023-09-09 17:36:19 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
|
|
|
|
|
|
|
|
|
|
namespace server.Database.Model
|
|
|
|
|
{
|
|
|
|
|
public class User
|
|
|
|
|
{
|
|
|
|
|
public int UserId { get; set; }
|
|
|
|
|
public ulong Steam64Id { get; set; }
|
|
|
|
|
public bool IsBanned { get; set; }
|
2023-09-10 12:20:35 +02:00
|
|
|
|
public virtual ICollection<HardwareConfiguration> HardwareConfigurations { get; set; }
|
2023-09-09 17:36:19 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class HardwareConfiguration
|
|
|
|
|
{
|
|
|
|
|
public int HardwareId { get; set; }
|
|
|
|
|
public virtual User User { get; set; }
|
|
|
|
|
public bool IsBanned { get; set; }
|
2023-09-09 19:26:19 +02:00
|
|
|
|
public string DeviceDrive0Serial { get; set; }
|
|
|
|
|
public string MotherboardSerial { get; set; }
|
2023-09-09 17:36:19 +02:00
|
|
|
|
}
|
2023-09-10 12:20:35 +02:00
|
|
|
|
}
|