using System.ComponentModel.DataAnnotations; using HrynCo.NotificationService.DAL.Abstract.Templates; namespace HrynCo.NotificationService.Web.Controllers.Admin.ViewModels; public sealed class NotificationServiceEditViewModel { public Guid? Id { get; set; } public Guid Revision { get; set; } [Required, StringLength(100)] public string Name { get; set; } = ""; public List Languages { get; set; } = []; public bool IsNew => Id is null; }