| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- @startuml Database
- entity Outlet {
- * id
- __
- * name
- * address
- * phone
- }
-
- entity Customer {
- * id
- __
- * customer_number
- * name
- * phone
- * gender
- }
-
- entity Mutation {
- * id
- __
- * type
- * amount
- * outlet_id
- transaction_id
- expense_id
- }
-
- entity Transaction {
- * id
- __
- * transaction_number
- discount
- description
- * transaction_status_id
- * user_id
- * customer_number
- * outlet_id
- }
-
- entity TransactionDetail {
- * id
- __
- * price
- discount
- * quantity
- * transaction_id
- * laundry_id
- * product_id
- }
-
- entity Laundry {
- * id
- __
- * name
- * price
- * unit
- }
-
- entity TransactionStatus {
- * id
- __
- * name
- }
-
- entity User {
- * id
- __
- * name
- * phone
- * email
- * status
- * password
- * gender_id
- * role_id
- * outlet_id
- }
-
- entity Role {
- * id
- __
- * name
- }
-
- entity Expense {
- * id
- __
- * description
- * amount
- * user_id
- * outlet_id
- }
-
- entity Product {
- * id
- __
- * name
- * price
- * unit
- }
-
- entity Discount {
- * id
- __
- * discount
- }
-
- Mutation ||--|| Expense
- Mutation ||--|{ Outlet
- Mutation ||--|| Transaction
- Transaction }|--|| TransactionDetail
- Transaction ||--|{ TransactionStatus
- Transaction ||--|{ Outlet
- Transaction ||--|{ Customer
- Transaction ||--|{ User
- Expense ||--|{ User
- Expense ||--|{ Outlet
- User ||--|{ Role
- User ||--|{ Outlet
- TransactionDetail ||--|{ Laundry
- TransactionDetail ||--|{ Product
|