Class Category
Defines the categories in Scrapbook101core.
Inheritance
System.Object
Category
Namespace: Scrapbook101core.Models
Assembly: Scrapbook101core.dll
Syntax
public class Category
Remarks
The list of categories is read in from one document stored in the database and identified by an Id and Type.
Properties
| Improve this Doc View SourceCategories
Declaration
public List<CategoryItem> Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CategoryItem> |
Id
Declaration
[Required(ErrorMessage = "id is required.")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |