1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

simplify ban process with new system

This commit is contained in:
RaidMax
2022-02-22 17:09:50 -06:00
parent 76d58d6969
commit 34328848f4
28 changed files with 11222 additions and 284 deletions

View File

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Data.Models;
public class EFPenaltyIdentifier : SharedEntity
{
[Key]
public int PenaltyIdentifierId { get; set; }
public int? IPv4Address { get; set; }
[Required]
public long NetworkId { get; set; }
[Required]
public int PenaltyId { get; set; }
[ForeignKey(nameof(PenaltyId))]
public EFPenalty Penalty { get; set; }
}