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.
Admin/Sources/HeartTrack/Models/Report/ReportModel.cs

26 lines
642 B

using Blazorise;
using System.ComponentModel.DataAnnotations;
namespace HeartTrack.Models
{
public class ReportModel
{
[Required]
[Range(0, 121425711425541)]
public int Id { get; set; }
[Required]
[StringLength(50)]
public string Username { get; set; }
[Required]
[StringLength(50)]
public string ReportedUser { get; set; }
[Required]
[StringLength(150)]
public string Raison { get; set; }
[Required]
[StringLength(500)]
public string Description { get; set; }
public Image Image { get; set; }
}
}