ScientificReport
ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel Class Reference
Inheritance diagram for ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel:
Inheritance graph
Collaboration diagram for ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel:
Collaboration graph

Public Types

enum  IsApprovedOption { IsApprovedOption.All, IsApprovedOption.Yes, IsApprovedOption.No }
 

Public Member Functions

 UserProfileIndexModel ()
 
 UserProfileIndexModel (IEnumerable< DAL.Entities.UserProfile.UserProfile > userProfiles, IEnumerable< DAL.Entities.Department > departments)
 

Properties

IsApprovedOption IsApproved [get, set]
 
IEnumerable< string > IsApprovedOptions [get, set]
 
string FirstName [get, set]
 
string LastName [get, set]
 
Guid DepartmentId [get, set]
 
IEnumerable< DAL.Entities.UserProfile.UserProfileUserProfiles [get, set]
 
IEnumerable< 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 6 of file UserProfileIndexModel.cs.

Member Enumeration Documentation

Enumerator
All 
Yes 
No 

Definition at line 8 of file UserProfileIndexModel.cs.

Constructor & Destructor Documentation

ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.UserProfileIndexModel ( )

Definition at line 21 of file UserProfileIndexModel.cs.

ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.UserProfileIndexModel ( IEnumerable< DAL.Entities.UserProfile.UserProfile userProfiles,
IEnumerable< DAL.Entities.Department departments 
)

Definition at line 26 of file UserProfileIndexModel.cs.

Property Documentation

Guid ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.DepartmentId
getset

Definition at line 17 of file UserProfileIndexModel.cs.

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

Definition at line 19 of file UserProfileIndexModel.cs.

string ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.FirstName
getset

Definition at line 15 of file UserProfileIndexModel.cs.

IsApprovedOption ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.IsApproved
getset

Definition at line 13 of file UserProfileIndexModel.cs.

IEnumerable<string> ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.IsApprovedOptions
getset

Definition at line 14 of file UserProfileIndexModel.cs.

string ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.LastName
getset

Definition at line 16 of file UserProfileIndexModel.cs.

IEnumerable<DAL.Entities.UserProfile.UserProfile> ScientificReport.DTO.Models.UserProfile.UserProfileIndexModel.UserProfiles
getset

Definition at line 18 of file UserProfileIndexModel.cs.


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