Class ConceptModel
Electronic Educational Methodological Complexes concept tree model.
Inherited Members
Namespace: EduCATS.Data.Models
Assembly: EduCATS.dll
Syntax
public class ConceptModel
Properties
Children
Declaration
[JsonProperty("children")]
public List<ConceptModel> Children { get; set; }
Property Value
Type | Description |
---|---|
List<ConceptModel> |
Container
Directory where file is stored on server.
Declaration
[JsonProperty("Container")]
public string Container { get; set; }
Property Value
Type | Description |
---|---|
string |
FilePath
Path to file.
Declaration
[JsonProperty("FilePath")]
public string FilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Examples
/UploadedFiles/Container/Filename.pdf
.
HasData
Is data available.
Declaration
[JsonProperty("HasData")]
public bool HasData { get; set; }
Property Value
Type | Description |
---|---|
bool |
Id
ID of the stored document.
Declaration
[JsonProperty("Id")]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
If container value is "test"
,
this property will contain ID of a test.
IsGroup
Is directory.
Declaration
[JsonProperty("IsGroup")]
public bool IsGroup { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Document/directory name.
Declaration
[JsonProperty("Name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Next
Next document ID
(null
if there is no next document).
Declaration
[JsonProperty("Next")]
public int? Next { get; set; }
Property Value
Type | Description |
---|---|
int? |
ParentId
Previous document ID.
Declaration
[JsonProperty("ParentId")]
public int ParentId { get; set; }
Property Value
Type | Description |
---|---|
int |
Prev
Previous document ID
(null
if there is no previous document).
Declaration
[JsonProperty("Prev")]
public int? Prev { get; set; }
Property Value
Type | Description |
---|---|
int? |
Published
Is published.
Declaration
[JsonProperty("Published")]
public bool Published { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Used to identify if the document's or directory's icon is greyed out.
ShortName
Document/directory short name.
Declaration
[JsonProperty("ShortName")]
public string ShortName { get; set; }
Property Value
Type | Description |
---|---|
string |
SubjectName
Subject name.
Declaration
[JsonProperty("SubjectName")]
public string SubjectName { get; set; }
Property Value
Type | Description |
---|---|
string |