1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- namespace OASystem.Domain.ViewModels
- {
- public class ViewBase
- {
-
-
-
- public string ReceiveDt { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
-
-
-
- public string ReturnDt { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
- }
- public class ListViewBase<T> : ViewBase
- {
-
-
-
- public int CurrPageIndex { get; set; }
-
-
-
- public int CurrPageSize { get; set; }
-
-
-
- public int DataCount { get; set; }
-
-
-
- public List<T> DataList { get; set; }
- }
- public class DataCount
- {
- public int Count { get; set; }
- }
-
-
-
- public class PageFunAuthViewBase
- {
-
-
-
-
- public int CheckAuth { get; set; } = 0;
-
-
-
-
- public int DeleteAuth { get; set; } = 0;
-
-
-
-
- public int EditAuth { get; set; } = 0;
-
-
-
-
- public int FilesDownloadAuth { get; set; } = 0;
-
-
-
-
- public int FilesUploadAuth { get; set; } = 0;
-
-
-
-
- public int AddAuth { get; set; } = 0;
-
-
-
-
- public int AuditAuth { get; set; } = 0;
- }
- }
|