圖書(shū)館管理系統(tǒng) 簡(jiǎn)單版_第1頁(yè)
圖書(shū)館管理系統(tǒng) 簡(jiǎn)單版_第2頁(yè)
圖書(shū)館管理系統(tǒng) 簡(jiǎn)單版_第3頁(yè)
圖書(shū)館管理系統(tǒng) 簡(jiǎn)單版_第4頁(yè)
圖書(shū)館管理系統(tǒng) 簡(jiǎn)單版_第5頁(yè)
已閱讀5頁(yè),還剩14頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

千里之行,始于足下讓知識(shí)帶有溫度。第第2頁(yè)/共2頁(yè)精品文檔推薦圖書(shū)館管理系統(tǒng)簡(jiǎn)單版圖書(shū)館管理系統(tǒng)數(shù)據(jù)庫(kù)設(shè)計(jì)

一、設(shè)計(jì)背景

隨著我國(guó)市場(chǎng)經(jīng)濟(jì)的快速進(jìn)展和人們生活水平的不斷提高,圖書(shū)館藏書(shū)的數(shù)目逐漸增大,這也挑戰(zhàn)了圖書(shū)管理方面的技術(shù),以前的人工管理方式已經(jīng)不再適應(yīng)現(xiàn)在的環(huán)境,取而代之的是先進(jìn)的圖書(shū)管理系統(tǒng),通過(guò)使用PowerDesigner15.1創(chuàng)建的圖書(shū)管理系統(tǒng)可以讓管理人員便利而快捷的舉行管理、查詢(xún)、借閱、錄入等工作。圖書(shū)管理工作面向大量的可模塊化處理的信息,是當(dāng)今信息革命的一個(gè)重要陣地。我們小組開(kāi)發(fā)圖書(shū)管理信息系統(tǒng)就是采納現(xiàn)代化的信息管理方式代替手工管理方式,提高圖書(shū)管理工作效率,做到信息的規(guī)范管理,科學(xué)統(tǒng)計(jì)和迅速查詢(xún),讓圖書(shū)館更好的為小學(xué),社會(huì)服務(wù)。

二、需求分析

圖書(shū)館管理系統(tǒng)應(yīng)當(dāng)能夠提供全部借閱者的具體信息,以及館內(nèi)庫(kù)存的具體狀況,對(duì)借書(shū)和還書(shū)兩大功能舉行合理的操作并記下。圖書(shū)館管理系統(tǒng)的主要任務(wù)是建立詳盡的借閱信息,以及館內(nèi)的書(shū)種及對(duì)應(yīng)書(shū)刊的記錄,并對(duì)借閱者和其借閱的書(shū)籍舉行記下,歸還的書(shū)籍舉行記下。圖書(shū)管理員對(duì)用戶(hù)的注冊(cè)、刪改、讀者信息的查詢(xún)檢索。依照管理員等級(jí)及權(quán)限可舉行圖書(shū)信息修改、書(shū)籍刪除、用戶(hù)密碼管理、用戶(hù)權(quán)限分配。

三、數(shù)據(jù)流程圖

四、圖書(shū)管理系統(tǒng)數(shù)據(jù)字典㈠數(shù)據(jù)項(xiàng)列表

數(shù)據(jù)項(xiàng)清單

可借閱冊(cè)數(shù)BorrowTimesInteger

圖書(shū)修改權(quán)限編號(hào)BUpDateAuIDInteger

圖書(shū)分類(lèi)BookFLCharacters(50)

密碼管理權(quán)限編號(hào)PAdminiAuIDInteger

工作單位RDeptLongvariablecharacters(50)應(yīng)還時(shí)光ReturnTimeDate&Time

歸還時(shí)光BackTimeDate&Time

歸還編號(hào)ReturnIDCharacters(50)

權(quán)限編號(hào)AuthorityIDInteger

條形碼ISBNCharacters(50)

版次BPTimesCharacters(50)

記下日期registerTimeDate&Time

管理員地址MAddressLongvariablecharacters(50)管理員姓名MNameCharacters(50)

管理員性別MSexCharacters(50)

管理員電話(huà)MTelInteger

管理員編號(hào)MIDInteger

級(jí)別MRankCharacters(50)

讀者住址RAddressLongvariablecharacters(50)讀者姓名RNameVariablecharacters(50)讀者性別RSexCharacters(50)

讀者電話(huà)RTelInteger

讀者編號(hào)RIDLonginteger

身份IdentityLongvariablecharacters(50)五、數(shù)據(jù)結(jié)構(gòu)列表

六、數(shù)據(jù)庫(kù)模式定義實(shí)體Administrator表

實(shí)體AdministratorType表

實(shí)體Authority表

實(shí)體Book表

實(shí)體BookType表

實(shí)體Borrow表

實(shí)體Reader表

實(shí)體ReaderType表

實(shí)體Return表

六、CDM-概念數(shù)據(jù)模型圖

Relationship_1

Relationship_5

Relationship_10ReaderType

身份可借閱冊(cè)數(shù)借閱期限Longvariablecharacters(50)IntegerIntegerIdentifier_1...

Reader

讀者編號(hào)讀者姓名讀者性別身份讀者電話(huà)讀者住址記下日期工作單位Longinteger

Variablecharacters(50)Characters(50)Longvariablecharacters(50)IntegerLongvariablecharacters(50)Date&TimeLongvariablecharacters(50)

Identifier_1...

AdministratorType

級(jí)別Characters(50)Identifier_1

Administrator

級(jí)別管理員姓名管理員編號(hào)管理員性別管理員電話(huà)管理員地址Characters(50)Characters(50)IntegerCharacters(50)IntegerLongvariablecharacters(50)

Identifier_1...

Book

條形碼書(shū)名版次圖書(shū)分類(lèi)出版社出版日期價(jià)格Characters(50)Characters(50)Characters(50)Characters(50)Characters(50)Characters(50)Date&TimeFloat(20)Identifier_1

Borrow

借閱編號(hào)條形碼讀者編號(hào)借閱時(shí)光歸還時(shí)光借閱次數(shù)Characters(50)Characters(50)LongintegerDate&TimeDate&TimeInteger

Identifier_1...

Return

歸還編號(hào)條形碼讀者編號(hào)應(yīng)還時(shí)光Characters(50)Characters(50)LongintegerDate&TimeIdentifier_1...

BookType

圖書(shū)分類(lèi)Characters(50)Identifier_1

Authority

權(quán)限編號(hào)圖書(shū)修改權(quán)限編號(hào)書(shū)籍刪除權(quán)限編號(hào)密碼管理權(quán)限編號(hào)IntegerIntegerIntegerIntegerIdentifier_1...

由CDM生成PDM過(guò)程中POWERDESIGNER自動(dòng)生成了每張表的索引,例如Book表

表格Book的索引清單

七、PDM-物理設(shè)計(jì)數(shù)據(jù)模型圖

FK_Relationship_5

ReaderType

身份可借閱冊(cè)數(shù)借閱期限...

longtextintintReader

讀者編號(hào)身份2讀者姓名讀者性別身份

讀者電話(huà)讀者住址記下日期工作單位...

bigintlongtextvarchar(50)char(50)longtextint

longtextdatetimelongtext

AdministratorType級(jí)別Adm_級(jí)別char(50)char(50)

Administrator

級(jí)別

管理員姓名管理員編號(hào)Adm_級(jí)別管理員性別管理員電話(huà)管理員地址...

char(50)char(50)intchar(50)char(50)int

longtext

Book條形碼借閱編號(hào)

Boo_圖書(shū)分類(lèi)Bor_借閱編號(hào)歸還編號(hào)書(shū)名版次

圖書(shū)分類(lèi)...

char(50)char(50)char(50)char(50)char(50)char(50)char(50)char(50)char(50)

Borrow

借閱編號(hào)

Rea_讀者編號(hào)Boo_條形碼條形碼讀者編號(hào)借閱時(shí)光歸還時(shí)光借閱次數(shù)...

char(50)bigintchar(50)char(50)bigintdatetimedatetimeint

Return

歸還編號(hào)

Rea_讀者編號(hào)Boo_條形碼條形碼讀者編號(hào)應(yīng)還時(shí)光...

char(50)bigintchar(50)char(50)bigintdatetime

BookType

圖書(shū)分類(lèi)char(50)

Authority

權(quán)限編號(hào)級(jí)別

圖書(shū)修改權(quán)限編號(hào)書(shū)籍刪除權(quán)限編號(hào)密碼管理權(quán)限編號(hào)...

intchar(50)intintint

八、利用Mysql建立數(shù)據(jù)庫(kù)并生成表

/*==============================================================*//*DBMSname:MySQL5.0*//*Createdon:2022-12-1522:55:20*/

/*==============================================================*/

droptableifexistsAdministrator;

droptableifexistsAdministratorType;

droptableifexistsAuthority;

droptableifexistsBook;

droptableifexistsBookType;

droptableifexistsBorrow;

droptableifexistsReader;

droptableifexistsReaderType;

droptableifexistsReturnB;

/*==============================================================*//*Table:Administrator*/

/*==============================================================*/createtableAdministrator

(

MRankchar(50)notnull,

MNamechar(50)notnull,

MIDintnotnull,

Adm_MRankchar(50),

MSexchar(50)notnull,

MTelintnotnull,

MAddresslongtextnotnull,

primarykey(MID)

);

/*==============================================================*//*Table:AdministratorType*/

/*==============================================================*/createtableAdministratorType

(

MRankchar(50)notnull,

Adm_MRankchar(50),

primarykey(MRank)

);

/*==============================================================*//*Table:Authority*/

/*==============================================================*/createtableAuthority

(

AuthorityIDintnotnull,

MRankchar(50),

BUpDateAuIDintnotnull,

BDeleteAuIDintnotnull,

PAdminiAuIDintnotnull,

primarykey(AuthorityID)

);

/*==============================================================*//*Table:Book*/

/*==============================================================*/createtableBook

(

ISBNchar(50)notnull,

BorrowIDchar(50),

Boo_BookFLchar(50),

Bor_BorrowIDchar(50),

ReturnIDchar(50),

BNamechar(50)notnull,

BPTimeschar(50)notnull,

BookFLchar(50)notnull,

BAchar(50)notnull,

BPNamechar(50)notnull,

BPTimedatetimenotnull,

BPricefloat(20)notnull,

primarykey(ISBN)

);

/*==============================================================*//*Table:BookType*/

/*==============================================================*/createtableBookType

(

BookFLchar(50)notnull,

primarykey(BookFL)

);

/*==============================================================*//*Table:Borrow*/

/*==============================================================*/createtableBorrow

(

BorrowIDchar(50)notnull,

Rea_RIDbigint,

Boo_ISBNchar(50),

ISBNchar(50)notnull,

RIDbigintnotnull,

BorrowTimedatetimenotnull,

BackTimedatetimenotnull,

借閱次數(shù)intnotnull,

primarykey(BorrowID)

);

/*==============================================================*//*Table:Reader*/

/*==============================================================*/createtableReader

(

RIDbigintnotnull,

Identifylongtext,

RNamevarchar(50)notnull,

RSexchar(50)notnull,

Identitylongtextnotnull,

RTelintnotnull,

RAddresslongtextnotnull,

registerTimedatetimenotnull,

RDeptlongtextnotnull,

primarykey(RID)

);

/*==============================================================*//*Table:ReaderType*/

/*==============================================================*/createtableReaderType

(

Identifylongtextnotnull,

BorrowTimesintnotnull,

BorrowTLImitintnotnull,

primarykey(Identify)

);

/*==============================================================*//*Table:ReturnB*/

/*==============================================================*/createtableReturnB

(

ReturnIDchar(50)notnull,

Rea_RIDbigint,

Boo_ISBNchar(50),

ISBNchar(50)notnull,

RIDbigintnotnull,

ReturnTimedatetimenotnull,

primarykey(ReturnID)

);

altertableAdministratoraddconstraintFK_Relationship_4foreignkey(Adm_MRank)referencesAdministratorType(MRank)ondeleterestrictonupdaterestrict;

altertableAdministratorTypeaddconstraintFK_Relationship_3foreignkey(Adm_MRank)referencesAdministratorType(MRank)ondeleterestrictonupdaterestrict;

altertableAuthorityaddconstraintFK_Relationship_9foreignkey(MRank)referencesAdministratorType(MRank)ondeleterestrictonupdaterestrict;

altertableBookaddconstraintFK_Relationship_10foreignkey(Boo_BookFL)referencesBookType(BookFL)ondeleterestrictonupdaterestrict;

altertableBookaddconstraintFK_Relationship_12foreignkey(Bor_BorrowID)referencesBorrow(BorrowID)ondeleterestrictonupdaterestrict;

altertableBookaddconstraintFK_Relationship_14foreignkey(ReturnID)

referencesReturnB(ReturnID)ondeleterestrictonupdaterestrict;

altertableBookaddconstraintFK_Relationship_8foreignkey(BorrowID)

referencesBorrow(BorrowID)ondeleterestrictonupdaterestrict;

altertableBorrowaddconstraintFK_Relationship_11foreignkey(Boo_ISBN)referencesBook(ISBN)ondeleterestrictonupdaterestrict;

altertableBorrowaddconstraintFK_Relationship_6foreignkey(Rea_RID)referencesReader(RID)ondeleteres

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論