last works on Category and SubCategory Completion ...
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using xModels.Base;
|
||||
using xModels.Dtos;
|
||||
|
||||
namespace xCategoryService.Models.Dtos
|
||||
{
|
||||
/// <summary>
|
||||
/// Represent a Category by all of it's Resources ...
|
||||
/// </summary>
|
||||
public class XCategoryResourceDto : XBaseDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Category Dto Item for Add or Update ...
|
||||
/// </summary>
|
||||
public XCategoryDto Item { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Exists Category Titles ...
|
||||
/// </summary>
|
||||
public XResourceDto Titles { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Exists Category Description ...
|
||||
/// </summary>
|
||||
public XResourceDto Descriptions { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using xModels.Base;
|
||||
using xModels.Dtos;
|
||||
|
||||
namespace xCategoryService.Models.Dtos
|
||||
{
|
||||
public class XSubCategoryResourceDto : XBaseDto
|
||||
{
|
||||
/// <summary>
|
||||
/// SubCategory Dto Item for Add or Update ...
|
||||
/// </summary>
|
||||
public XSubCategoryDto Item { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Exists SubCategory Titles ...
|
||||
/// </summary>
|
||||
public XResourceDto Titles { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Exists SubCategory Description ...
|
||||
/// </summary>
|
||||
public XResourceDto Descriptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Exists Category Resource Dto for Add or Update Category or
|
||||
/// Related Categopry ...
|
||||
/// </summary>
|
||||
public XCategoryResourceDto Category { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user