ScientificReport
ScientificReport.DTO.Models.Department.DepartmentIndexModel Class Reference
Inheritance diagram for ScientificReport.DTO.Models.Department.DepartmentIndexModel:
Inheritance graph
Collaboration diagram for ScientificReport.DTO.Models.Department.DepartmentIndexModel:
Collaboration graph

Public Member Functions

 DepartmentIndexModel ()
 
 DepartmentIndexModel (IEnumerable< DAL.Entities.Department > departments)
 

Properties

string TitleFilter [get, set]
 
DAL.Entities.Department.SortByOption SortBy [get, set]
 
IEnumerable< ScientificReport.DAL.Entities.DepartmentDepartments [get, set]
 
- Properties inherited from ScientificReport.DTO.Models.PageModel
int CurrentPage [get, set]
 
int Count = 1 [get, set]
 
virtual int PageSize [get, set]
 

Additional Inherited Members

- Public Attributes inherited from ScientificReport.DTO.Models.PageModel
int TotalPages => (int)Math.Ceiling(decimal.Divide(Count, PageSize))
 
bool ShowPrevious => CurrentPage > 1
 
bool ShowNext => CurrentPage < TotalPages
 

Detailed Description

Definition at line 5 of file DepartmentIndexModel.cs.

Constructor & Destructor Documentation

ScientificReport.DTO.Models.Department.DepartmentIndexModel.DepartmentIndexModel ( )

Definition at line 13 of file DepartmentIndexModel.cs.

ScientificReport.DTO.Models.Department.DepartmentIndexModel.DepartmentIndexModel ( IEnumerable< DAL.Entities.Department departments)

Definition at line 15 of file DepartmentIndexModel.cs.

Property Documentation

IEnumerable<ScientificReport.DAL.Entities.Department> ScientificReport.DTO.Models.Department.DepartmentIndexModel.Departments
getset

Definition at line 11 of file DepartmentIndexModel.cs.

DAL.Entities.Department.SortByOption ScientificReport.DTO.Models.Department.DepartmentIndexModel.SortBy
getset

Definition at line 9 of file DepartmentIndexModel.cs.

string ScientificReport.DTO.Models.Department.DepartmentIndexModel.TitleFilter
getset

Definition at line 7 of file DepartmentIndexModel.cs.


The documentation for this class was generated from the following file: