Refactor code structure for improved readability and maintainability
This commit is contained in:
22
Dto/Template/Add/AddTemplateDto.cs
Normal file
22
Dto/Template/Add/AddTemplateDto.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.Template.Add
|
||||
{
|
||||
public class AddTemplateDto
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
public Guid TemplateCategoryId { get; set; }
|
||||
|
||||
[Column(Order = 2)]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Column(Order = 3)]
|
||||
public string Version { get; set; }
|
||||
|
||||
[Column(Order = 4)]
|
||||
public string Description { get; set; }
|
||||
|
||||
[Column(Order = 5)]
|
||||
public string JSONData { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user