Add String Service and Implement all of it's requirements as an xDashboard Package ...
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user