欢迎来到天天文库
浏览记录
ID:40525503
大小:342.50 KB
页数:28页
时间:2019-08-04
《C#制作学生管理系统源代码》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、建立3层架构Entity层:book.csusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceZDSoft.LibraryManage.Entity{publicclassBook{publicBook(){BBookID=0;MManID="";BBookName="";WWriter="";}publicBook(intbookid,stringmanid,stringbookname,stringwriter){BBookID=bookid;MMa
2、nID=manid;BBookName=bookname;WWriter=writer;}privateintBBookID;//////图ª?书º¨¦编À¨¤号?///publicintBookID{get{returnBBookID;}set{BBookID=value;}}privatestringMManID;//////管¨¹理¤¨ª编À¨¤号?///publicstringManID{get{returnMManID;}set{MManID=value;}}privatestringBB
3、ookName;//////图ª?书º¨¦名?///publicstringBookName{get{returnBBookName;}set{BBookName=value;}}privatestringWWriter;//////作Á¡Â者?///publicstringWriter{get{returnWWriter;}set{WWriter=value;}}}}usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;using
4、System.Text;namespaceZDSoft.LibraryManage.Entity{publicclassBorrow{publicBorrow(){}privateintBBorrowID;//////借¨¨书º¨¦编À¨¤号?///publicintBorrowID{get{returnBBorrowID;}set{BBorrowID=value;}}privatestringCCardID;//////借¨¨书º¨¦证¡è号?///publicstringCardID{get{r
5、eturnCCardID;}set{CCardID=value;}}privatestringMManID;//////管¨¹理¤¨ª编À¨¤号?///publicstringManID{get{returnMManID;}set{MManID=value;}}privateDateTimeBBorrowDate;//////借¨¨书º¨¦日¨?期¨²///publicDateTimeBorrowDate{get{returnBBorrowDate;}set{BBorrowDate=value;}}
6、privateDateTimeRReturnDate;//////还1书º¨¦日¨?期¨²///publicDateTimeReturnDate{get{returnRReturnDate;}set{RReturnDate=value;}}}}Reader.csusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceZDSoft.LibraryManage.Entity{publicclassReader{publicR
7、eader(){this.RReaderID=0;this.RReaderName="";this.CCardID="";this.TTel="";}//////构1造¨¬用®?户¡ì实º¦Ì体¬?//////读¨¢者?编À¨¤号?///姓?名?///借¨¨书º¨¦证¡è号?///
此文档下载收益归作者所有