docs: #292 adding category specfic new fields to its corresponding view model
This commit is contained in:
parent
44cd564566
commit
30923f6ee8
@ -27,6 +27,26 @@ namespace RMuseum.Models.Ganjoor.ViewModels
|
||||
/// </summary>
|
||||
public string FullUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// TOC Style
|
||||
/// </summary>
|
||||
public GanjoorTOC TableOfContentsStyle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Category Type
|
||||
/// </summary>
|
||||
public GanjoorCatType CatType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// additional descripion or note
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// html mode of additional descripion or note
|
||||
/// </summary>
|
||||
public string DescriptionHtml { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// order when mixed with poems
|
||||
/// </summary>
|
||||
|
||||
@ -7393,6 +7393,26 @@
|
||||
full url
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorCatViewModel.TableOfContentsStyle">
|
||||
<summary>
|
||||
TOC Style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorCatViewModel.CatType">
|
||||
<summary>
|
||||
Category Type
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorCatViewModel.Description">
|
||||
<summary>
|
||||
additional descripion or note
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorCatViewModel.DescriptionHtml">
|
||||
<summary>
|
||||
html mode of additional descripion or note
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.ViewModels.GanjoorCatViewModel.MixedModeOrder">
|
||||
<summary>
|
||||
order when mixed with poems
|
||||
|
||||
@ -191,6 +191,10 @@ namespace RMuseum.Services.Implementation
|
||||
Title = parent.Title,
|
||||
UrlSlug = parent.UrlSlug,
|
||||
FullUrl = parent.FullUrl,
|
||||
TableOfContentsStyle = parent.TableOfContentsStyle,
|
||||
CatType = parent.CatType,
|
||||
Description = parent.Description,
|
||||
DescriptionHtml = parent.DescriptionHtml,
|
||||
MixedModeOrder = parent.MixedModeOrder,
|
||||
Published = parent.Published,
|
||||
});
|
||||
@ -216,6 +220,10 @@ namespace RMuseum.Services.Implementation
|
||||
Title = c.Title,
|
||||
UrlSlug = c.UrlSlug,
|
||||
FullUrl = c.FullUrl,
|
||||
TableOfContentsStyle = c.TableOfContentsStyle,
|
||||
CatType = c.CatType,
|
||||
Description = c.Description,
|
||||
DescriptionHtml = c.DescriptionHtml,
|
||||
MixedModeOrder = c.MixedModeOrder,
|
||||
Published = c.Published,
|
||||
//other fields null
|
||||
@ -239,6 +247,10 @@ namespace RMuseum.Services.Implementation
|
||||
Title = c.Title,
|
||||
UrlSlug = c.UrlSlug,
|
||||
FullUrl = c.FullUrl,
|
||||
TableOfContentsStyle = c.TableOfContentsStyle,
|
||||
CatType = c.CatType,
|
||||
Description = c.Description,
|
||||
DescriptionHtml = c.DescriptionHtml,
|
||||
MixedModeOrder = c.MixedModeOrder,
|
||||
Published = c.Published,
|
||||
//other fields null
|
||||
@ -251,6 +263,10 @@ namespace RMuseum.Services.Implementation
|
||||
Title = cat.Title,
|
||||
UrlSlug = cat.UrlSlug,
|
||||
FullUrl = cat.FullUrl,
|
||||
TableOfContentsStyle = cat.TableOfContentsStyle,
|
||||
CatType = cat.CatType,
|
||||
Description = cat.Description,
|
||||
DescriptionHtml = cat.DescriptionHtml,
|
||||
MixedModeOrder = cat.MixedModeOrder,
|
||||
Published = cat.Published,
|
||||
Next = nextCat,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user