blob: d35b09886da0a978771668271fb9d2f2467c484b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BackendPIA.Models {
public class Prize {
public long Id { get; set; }
[ForeignKey("RaffleId")]
public long RaffleId { get; set; }
public Raffle? Raffle { get; set; }
public string Name { get; set; }
public int Tier { get; set; }
public string Category { get; set; }
}
}
|