blob: 355c747c6c5e5e2e4a38bf9f2eb08e70ea0f4190 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
using System.ComponentModel.DataAnnotations.Schema;
namespace BackendPIA.Models {
public class RaffleWinner {
public long Id { get; set; }
[ForeignKey("UserAccountId")]
public string UserAccountId { get; set; }
[ForeignKey("PrizeId")]
public long PrizeId { get; set; }
[ForeignKey("RaffleId")]
public long RaffleId { get; set; }
public UserAccount? UserAccount { get; set; }
public Prize? Prize { get; set; }
public Raffle? Raffle { get; set; }
}
}
|