Návrh systému pro sdílenou ekonomiku: Porovnání verzí

Z ZděchovNET
Skočit na navigaci Skočit na vyhledávání
(Založena nová stránka s textem „=Notes= * support federation to interconnect multiple instances * support ridesharing, carsharing, stays =Objects definition= ==User== * ID * Server * Lo…“)
 
Bez shrnutí editace
Řádek 30: Řádek 30:
* Model
* Model
* Pictures
* Pictures
* FuelType

==CarState==
* ID
* Car
* Time
* Pictures
* Mileage
* FuelPercentage


==Offer==
==Offer==

Verze z 10. 8. 2020, 21:01

Notes

  • support federation to interconnect multiple instances
  • support ridesharing, carsharing, stays

Objects definition

User

  • ID
  • Server
  • Login
  • Password
  • PasswordSalt
  • Name
  • Age
  • Email
  • RegistrationTime
  • LastLoginTime
  • Description
  • Picture
  • Phone
  • BirthDate
  • Language

Car

  • ID
  • Server
  • Name
  • ManufactureDate
  • Color
  • Model
  • Pictures
  • FuelType

CarState

  • ID
  • Car
  • Time
  • Pictures
  • Mileage
  • FuelPercentage

Offer

  • ID
  • MapPosition
  • AutomaticConfirmation
  • PaymentMethod (Cash, WireTransfer, Card)
  • Price

OfferCar

  • Car
  • Calendar

OfferRide

  • Car
  • Stops
  • Seats

OfferStay

  • Place

Service

  • ID
  • Name

Place

  • Type (Bed, Room, Flat, House)
  • Pictures
  • Capacity
  • Equipment

Ride

  • Stops

RideStop

  • Ride
  • Time
  • MapPosition
  • Seats
  • Price

Reservation

  • ID
  • BeginTime
  • EndTime
  • Offer
  • Price
  • Note

Message

  • ID
  • Time
  • UserFrom
  • UserTo
  • Content

UserRating

  • ID
  • User
  • RatedUser
  • Stars
  • Description

PlaceRating

  • ID
  • User
  • RatedPlace
  • Stars
  • Description

Server

  • ID
  • Name
  • Hostname
  • Enabled

CarManufacturer

  • ID
  • Name

CarModel

  • ID
  • Name
  • Manufacturer