summaryrefslogtreecommitdiff
path: root/Forms/PrizeForm.cs
blob: 04f33a0ea62e24c10496e47759b2402235833a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.ComponentModel.DataAnnotations;
using BackendPIA.Validations;

namespace BackendPIA.Forms {
    public class PrizeForm {
        [Required]
        public long RaffleId { get; set; }
        [Required]
        public string? Name { get; set; }
        [Required]
        [UniqueTier]
        public int Tier { get; set; }
        [Required]
        public string? Category { get; set; }
    }
}