blob: 3046aed204ef6819d38baa6b88d6e22407f11e73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
namespace BackendPIA.Forms {
public class RaffleForm {
[Required]
[StringLength(128)]
public string? Name { get; set; }
[Required]
[Range(1, 54, ErrorMessage = "Value for {0} must be between {1} and {2}.")]
public int Winners { get; set; }
}
}
|