feat(templates): add service language template management
Add normalized service and template catalogs, scoped administration, migration, validation, and regression coverage. Ref: IT-1601
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user