Class NewsModel
News model.
Inherited Members
Namespace: EduCATS.Data.Models
Assembly: EduCATS.dll
Syntax
public class NewsModel
  Properties
Body
News body.
Declaration
[JsonProperty("Body")]
public string Body { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Remarks
Retrieved in HTML format.
Date
News publish/update date.
Declaration
[JsonProperty("EditDate")]
public string Date { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Id
News ID.
Declaration
[JsonProperty("Id")]
public int Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Subject
Subject details.
Declaration
[JsonProperty("Subject")]
public NewsSubjectModel Subject { get; set; }
  Property Value
| Type | Description | 
|---|---|
| NewsSubjectModel | 
SubjectId
Subject ID.
Declaration
[JsonProperty("SubjectId")]
public int SubjectId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Title
News title.
Declaration
[JsonProperty("Title")]
public string Title { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string |