-
Add content file
-
Add the following meta data:
-
Subject (Mandatory) --ok
-
Document type (list of some types like: Incoming, Outgoing …. Etc.) (Mandatory) --ok
-
Document date (Mandatory and should be less than or equal the current date) --ok
-
Serial Number (Mandatory with this format 00/0000 Like: 25/2014) --ok
-
Details (Not mandatory) --ok
-
-
Use the mandatory fields as a search criteria
-
Subject --ok
-
Document type (1) --ok
-
Serial Number --ok
-
-
Display the search result with this field:
-
Serial
-
Subject
-
Document date
-
-
A facility to sort the search result based on any (2) --ok
- Subject.
- Serial
-
A facility to download the document. (3)
======================================
fld | typ | q | n |
---|---|---|---|
Subject | txt | req | |
DocumentType | ddl | req | |
DocumentDate | dateTxt | req | |
SerialNumber | txt | req | |
Details | textArea | ||
File | fileUpload | ||
Submit | btn |
fld | typ | q | n |
---|---|---|---|
Subject | txt | req | |
DocumentType | ddl | req | |
SerialNumber | txt | req | |
Search | btn |
fld | typ | q | n |
---|---|---|---|
Subject | fld | req | |
DocumentDate | fld | req | |
SerialNumber | fld | req | |
Details | fld |
-
MVC.NET
-
C#
-
html, css, Jquery
- DocumentsArchiving.BI
- DocumentsArchiving.BLL
- DocumentsArchiving.DAL
- DocumentsArchiving.Web
- DocumentsArchiving.Integ
- DocumentsArchiving.Console
Install-Package PagedList.Mvc -Version 4.5.0
- Document
fld | typ | q | n |
---|---|---|---|
DocumentId | int | req | key |
Subject | int | req | |
DocumentType | string | req | |
DocumentDate | datetime | req | |
SerialNumber | string | req | |
Details | string |
-
DocumentTypeVM
-
DocumentVM
fld | typ | q | n |
---|---|---|---|
DocumentId | int | req | key |
Subject | int | req | |
DocumentType | string | req | |
DocumentDate | datetime | req | |
SerialNumber | string | req | |
Details | string | ||
File | HttpPostedFileBase | ||
Path | string | ||
DocumentType | DocumentTypeVM |
- DocumentAddVM
fld | typ | q | n |
---|---|---|---|
Subject | int | req | |
DocumentType | string | req | |
DocumentDate | datetime | req | should be less than or equal the current date |
SerialNumber | string | req | format 00/0000 Like: 25/2014 |
Details | string | ||
File | HttpPostedFileBase | ||
Path | string | ||
DocumentType | DocumentTypeVM |
-
file funcs
-
UploadFile(doc)
-
DownloadFile(docId)
-
-
db funcs
-
InsertDocument(doc)
-
GetDocumentsByFilter(filters)
-
GetDocumentTypes()
-
-
db funcs
-
InsertFile(doc)
-
InsertTrans(doc)
-
GetDocumentTypes()
-
GetDocumentsByFilter(filters)
-
-
funcs
- ListOfCountryNamesByCode(doc) http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?op=ListOfCountryNamesByCode
- GET Index
- GET Create
- POST Create(document)
- GET DownloadFile(path)
- MSSQL Server - DocDB
-
Document
-
DocumentId (int) (rqg) (key)
-
Subject varchar(30) (req)
-
DocumentType varchar(30) (req)
-
DocumentDate date (req) --should be less than or equal the current date
-
SerialNumber varchar(30) --format 00/0000 Like: 25/2014 (req)
-
Details(max)
-
-
Transaction (suggested)
-
DocumentId (int) (rqg) (key)
-
TransactionDate date
-
log varchar(30)
-