docs: #292 setting default values for to Published fields and adding a new field
This commit is contained in:
parent
a62549c14a
commit
e4d628c467
@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace RMuseum.Models.Ganjoor
|
||||
@ -64,6 +65,11 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// </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>
|
||||
@ -72,6 +78,7 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// <summary>
|
||||
/// published
|
||||
/// </summary>
|
||||
[DefaultValue(true)]
|
||||
public bool Published { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace RMuseum.Models.Ganjoor
|
||||
@ -102,6 +103,7 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// <summary>
|
||||
/// published
|
||||
/// </summary>
|
||||
[DefaultValue(true)]
|
||||
public bool Published { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -5693,6 +5693,11 @@
|
||||
additional descripion or note
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorCat.DescriptionHtml">
|
||||
<summary>
|
||||
html mode of additional descripion or note
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorCat.MixedModeOrder">
|
||||
<summary>
|
||||
order when mixed with poems
|
||||
|
||||
Loading…
Reference in New Issue
Block a user