summaryrefslogtreecommitdiff
path: root/Models/Raffle.cs
blob: c2dcc58ae836a871c3d1525c92811cdb78b4fb42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;

namespace BackendPIA.Models {
    public class Raffle {
        public long Id { get; set; }
        [Required]
        [StringLength(128)]
        public string? Name { get; set; }
        [Required]
        public int Winners { get; set; }
        public bool IsClosed { get; set; }
    }
}