namespace MyOffice.Web.Models.Item; using System.ComponentModel.DataAnnotations; public class ItemViewModel : BaseViewModel { public string? Id { get; set; } [Required] public string? Name { get; set; } public bool AllowDelete { get; set; } public string CategoryId { get; set; } = null!; public string? Category { get; set; } = null!; public string? AccountId { get; set; } }