Files
hrynco-notification-service/HrynCo.NotificationService.Web/Controllers/Admin/ViewModels/NotificationServiceEditViewModel.cs
T
agrynco 81654c0d33 feat(templates): add service language template management
Add normalized service and template catalogs, scoped administration, migration, validation, and regression coverage.

Ref: IT-1601
2026-10-17 22:02:43 +03:00

15 lines
486 B
C#

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<ServiceLanguageInfo> Languages { get; set; } = [];
public bool IsNew => Id is null;
}