EnvEdu

Tables (9)

Admin

  • 운영자식별자 (id) — PK — Primary key — NOT NULL
  • 유저네임 (username)
  • 비밀번호 (password)

Device

  • 기기식별자 (id) — PK — Primary key — NOT NULL
  • 맥주소 (mac)
  • 별칭 (name)
  • 유저식별자 (userId) — Foreign key → Users.유저식별자
  • 생성날짜 (createdDate)
  • 수정날짜 (updateDate)

Educator

  • 교사식별자 (id) — PK — Foreign key → Users.유저식별자
  • 권한여부 (isAuthorized)

Educator-Student

  • 교사-학생식별자 (id) — PK — Primary key — NOT NULL
  • 교사식별자 (educatorId) — Foreign key → Educator.교사식별자
  • 학생식별자 (studentId) — Foreign key → Student.학생식별자

EducatorInfo

  • 정보식별자 (id) — PK — Primary key — NOT NULL
  • 교사식별자 (educatorId) — Foreign key → Educator.교사식별자

Location

  • 장소식별자 (id) — PK — Primary key — NOT NULL
  • 주소 (address)
  • 세부주소 (addressDetail)
  • 유저식별자 (userId) — Foreign key → Users.유저식별자
  • 생성날짜 (createdDate)
  • 수정날짜 (updateDate)

Seed

  • 데이터식별자 (id) — PK — Primary key — NOT NULL
  • 맥주소 (mac)
  • 습도 (hum)
  • 온도 (temp)
  • 탁도 (tur)
  • 산성도 (ph)
  • 미세먼지 (dust)
  • 포화산소 (dox)
  • 이산화탄소 (co2)
  • 조도 (lux)
  • 토양습도 (hum_EARTH)
  • 위치 (location)
  • 날짜 (date)
  • 유저식별자 (userId) — Foreign key → Users.유저식별자

Student

  • 학생식별자 (id) — PK — Foreign key → Users.유저식별자

Users

  • 유저식별자 (id) — PK — Primary key
  • 유저네임 (username)
  • 비밀번호 (password)
  • 이메일 (email)
  • 권한 (role)
  • 상태 (state)
  • 성별 (gender)
  • 생성날짜 (createDate)
  • 수정날짜 (Field)