Changes between Version 2 and Version 3 of Концептуален дизајн - ЕР Дијаграм и податочни побарувања


Ignore:
Timestamp:
12/04/24 21:07:48 (6 weeks ago)
Author:
222039
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Концептуален дизајн - ЕР Дијаграм и податочни побарувања

    v2 v3  
    771. '''Book'''
    88* '''BookID''' - Primary Key, Numeric
    9 * ISBN - Mandatory Attribute, Text (International Standard Book Number)
     9* ISBN - Mandatory Attribute, Text
    1010* Title - Mandatory Attribute, Text
    1111* Genre - Mandatory Attribute, Text
    1212* PublishedYear - Mandatory Attribute, Numeric
    13 * Copies - Mandatory Attribute, Numeric (Indicates the number of available copies of the book)
     13* Copies - Mandatory Attribute, Numeric
    1414
    15152. '''Book_Author'''
    16 * '''BookID''' - Foreign Key to Book (N:1 Relationship), Numeric
    17 * '''AuthorID''' - Foreign Key to Author (N:1 Relationship), Numeric
    1816
    19173. '''Author'''
     
    24224. '''Loan'''
    2523* '''LoanID''' - Primary Key, Numeric
    26 * LoanDate - Mandatory Attribute, Date (Date the book was borrowed)
    27 * ReturnDate - Optional Attribute, Date (Date the book was returned)
    28 * '''BookID''' - Foreign Key to Book (N:1 Relationship), Numeric
    29 * '''UserID''' - Foreign Key to User (N:1 Relationship), Numeric
    30 * Status - Mandatory Attribute, Text (e.g., "On Loan", "Returned", "Overdue")
     24* LoanDate - Mandatory Attribute, Date
     25* ReturnDate - Optional Attribute, Date
     26* Status - Mandatory Attribute, Text
    3127
    32285. '''Member'''
    3329* '''MemberID''' - Primary Key, Numeric
    34 * '''UserID''' - Foreign Key to User (1:1 Relationship), Numeric
    3530* Address - Mandatory Attribute, Text
    3631* Phone - Mandatory Attribute, Numeric
    37 * MembershipDate - Mandatory Attribute, Date (Date when the member joined)
     32* MembershipDate - Mandatory Attribute, Date
    3833
    39346. '''User'''
     
    4237* Password - Mandatory Attribute, Text
    4338* Email - Mandatory Attribute, Text
    44 * Role - Mandatory Attribute, Text (e.g., "Librarian", "Member")
     39* Role - Mandatory Attribute, Text
    4540
    46417. '''Fine'''
    4742* '''FineID''' - Primary Key, Numeric
    48 * '''LoanID''' - Foreign Key to Loan (N:1 Relationship), Numeric
    4943* FineAmount - Mandatory Attribute, Numeric
    5044* FineDate - Mandatory Attribute, Date
    51 * Status - Mandatory Attribute, Text (e.g., "Paid", "Unpaid")
     45* Status - Mandatory Attribute, Text
    5246
    53478. '''Fine_Payment'''
    5448* '''FinePaymentID''' - Primary Key, Numeric
    55 * '''FineID''' - Foreign Key to Fine (N:1 Relationship), Numeric
    5649* PaymentDate - Mandatory Attribute, Date
    5750* PaymentAmount - Mandatory Attribute, Numeric