2024-12-03 11:58:33 +01:00

34 lines
801 B
C#

namespace Database.Entities;
public class VsDuel : BaseEntity
{
public Guid AllianceId { get; set; }
public Guid? VsDuelLeagueId { get; set; }
public Alliance Alliance { get; set; } = null!;
public VsDuelLeague? VsDuelLeague { get; set; }
public DateTime EventDate { get; set; }
public required string CreatedBy { get; set; }
public DateTime? ModifiedOn { get; set; }
public string? ModifiedBy { get; set; }
public bool Won { get; set; }
public required string OpponentName { get; set; }
public int OpponentServer { get; set; }
public long OpponentPower { get; set; }
public int OpponentSize { get; set; }
public bool IsInProgress { get; set; }
public ICollection<VsDuelParticipant> VsDuelParticipants { get; set; } = [];
}