blob: 98901dfca5b582bd9ce2e31441749539de947175 (
plain)
1
2
3
4
5
6
7
8
9
|
using System.ComponentModel.DataAnnotations;
namespace BackendPIA.Forms {
public class TicketForm {
[Required]
[Range(1, 54, ErrorMessage = "Value for {0} must be between {1} and {2}.")]
public int Number { get; set; }
}
}
|