You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
832 B
27 lines
832 B
using Blazorise;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace HeartTrack.Models
|
|
{
|
|
public class TicketModel
|
|
{
|
|
[Required]
|
|
[Range(0, 121425711425541)]
|
|
public int Id { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50, ErrorMessage = "The username must not exceed 50 characters.")]
|
|
public string Username { get; set; }
|
|
[Required]
|
|
[StringLength(25, ErrorMessage = "The subject must not exceed 25 characters.")]
|
|
public string Contexte { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(500, ErrorMessage = "Description must not exceed 500 characters.")]
|
|
public string Description { get; set; }
|
|
public Boolean Urgence { get; set; }
|
|
public Boolean isCheck { get; set; } = false;
|
|
}
|
|
}
|