Add String Service and Implement all of it's requirements as an xDashboard Package ...

This commit is contained in:
2025-11-04 18:09:54 +03:30
parent 83a9500f30
commit 5ea2b8e3b9
14 changed files with 1774 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
using xModels.Base;
namespace xStringService.Models.Dtos
{
public class XStringDto : XBaseDto
{
public int Id { get; set; }
public string Language { get; set; }
public string ResourceTitle { get; set; }
public string TranslatedValue { get; set; }
}
}
+20
View File
@@ -0,0 +1,20 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using xModels.Base;
namespace xStringService.Models.Entities
{
public class XString : XBaseIntIDEntity
{
[Required]
[StringLength (10)]
public string Language { get; set; }
[Required]
[StringLength (255)]
public string ResourceTitle { get; set; }
[Required]
public string TranslatedValue { get; set; }
}
}