using System.ComponentModel.DataAnnotations;

namespace Freman.Sample.Web.Contracts;

public sealed class CreateNoteRequest
{
    [Required]
    [StringLength(500)]
    public string Text { get; set; } = "";
}