AdminDataBase

테이블 (28)

AcccesMember (출입인원및시간정보)

  • userId (Key) — int — 외래 키 → Users.userId — NOT NULL
  • groupId (Key2) — int — 외래 키 → Users.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → Users.groupById — NOT NULL
  • Key (outterUserid) — int — 외래 키 → 외부춟입자.Key — NOT NULL
  • adminId (Key4) — int — 외래 키 → 외부춟입자.adminId — NOT NULL
  • admissionTime (Field) — DateTime

Admin (관리자 정보)

  • adminId (Key) — int — 기본 키 — NOT NULL
  • groupId (Key2) — int — 외래 키 → 동.groupId — NOT NULL
  • name (Field) — varchar
  • password (Field2) — varchar
  • email (Field4) — varchar

AdminDashboard (관리자공지사항)

  • DashboardId (Key) — int — 기본 키 — NOT NULL
  • adminId (Key2) — int — 외래 키 → Admin.adminId — NOT NULL
  • groupId (Key22) — int — 외래 키 → Admin.groupId — NOT NULL
  • Title (Field) — varchar
  • description (Field2) — varchar
  • createdAt (Field3) — Date
  • UpdatedAt (Field4) — Date
  • DeletedAt (Field5) — Date

Admin_Day (관리자 출근날짜 매핑)

  • adminId (Key) — int — 외래 키 → Admin.adminId — NOT NULL
  • DayId (Key2) — int — 외래 키 → Day.DayId — NOT NULL
  • groupId (Key22) — int — 외래 키 → Admin.groupId — NOT NULL

Day (출근 요일)

  • DayId (Key) — int — 기본 키 — NOT NULL
  • name (Field) — varchar

FacilityRoomsLists (시설물 List)

  • RoomId (Key) — int — 기본 키 — NOT NULL
  • 건룸이름 (title) — varchar
  • pricing (Field2) — int
  • createdAt (Field4) — Date
  • updatedAt (Field5) — Date
  • deletedAt (Field6) — Date
  • capacity (Field7) — int
  • employment (Field8) — int
  • 시설관리자/admin과는 다름 (name) — varchar

Facility_List (이용내역과시설기자내매핑)

  • userId (Key22) — int — 외래 키 → 시설도구,물이용내역.userId — NOT NULL
  • groupId (Key222) — int — 외래 키 → 시설도구,물이용내역.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → 시설도구,물이용내역.groupById — NOT NULL
  • FacilityId (Key2) — int — 외래 키 → 시설도구,물이용내역.FacilityId — NOT NULL
  • toolId (Key) — int — 외래 키 → FacillityToolsLists.ToolId — NOT NULL
  • RoomId (Key4) — int — 외래 키 → FacilityRoomsLists.RoomId — NOT NULL
  • HelpId (Key42) — int — 외래 키 → 시설도구,물이용내역.HelpId — NOT NULL

FacillityToolsLists (시설기자재 List)

  • ToolId (Key) — int — 기본 키 — NOT NULL
  • name (Field) — varchar
  • pricing (Field2) — int
  • createdAt (Field4) — Date
  • updatedAt (Field5) — Date
  • deletedAt (Field6) — Date
  • stock (Field7) — int

Images (회원 이미지)

  • imageId (Key) — int — 기본 키 — NOT NULL
  • name (Field) — int
  • ImageCount (Field5) — int
  • createdAt (Field6) — Date
  • updatedAt (Field7) — Date

ParkingInfo (주차 정보)

  • parkingId (Key) — int — 기본 키 — NOT NULL
  • carId (Key2) — int — 외래 키 → UserCarInfo.carId — NOT NULL
  • userId (Key22) — int — 외래 키 → UserCarInfo.userId — NOT NULL
  • groupId (Key222) — int — 외래 키 → UserCarInfo.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → UserCarInfo.groupById — NOT NULL
  • space (Field) — varchar
  • valid (Field2) — boolean
  • startTime (Field3) — DateTime
  • EndTime (Field4) — DateTime
  • specificSpace (Field6) — boolean

Pricingnfo (납부내역)

  • PricingInfoId (Key) — int — 기본 키 — NOT NULL
  • userId (Key2) — int — 외래 키 → Users.userId — NOT NULL
  • groupId (Key22) — int — 외래 키 → Users.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → Users.groupById — NOT NULL
  • kindname (Field) — VARCHAR(45)
  • pricing (Field3) — inte
  • createdAt (Field4) — Date
  • deletedAt (Field5) — Date

Todo리스트 (TodoLists)

  • id (todoListid) — int() — 기본 키 — NOT NULL
  • description — Text
  • 생성날짜 (createdAt) — datetime

UserCarInfo (차량정보)

  • carId (Key) — int — 기본 키 — NOT NULL
  • userId (Key2) — int — 외래 키 → Users.userId — NOT NULL
  • groupId (Key22) — int — 외래 키 → Users.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → Users.groupById — NOT NULL
  • kind (Field) — varchar
  • carCode (Field2) — varchar
  • createdAt (Field4) — Date
  • updaedAt (Field5) — Date
  • deletedAt (Field6) — Date

Users (주민정보)

  • (userId) — int — 기본 키 — NOT NULL
  • (groupId) — int — 외래 키 → 동.groupId — NOT NULL
  • (groupById) — int — 외래 키 → 호.GroupById — NOT NULL
  • (name) — varchar
  • (meberIndex) — int
  • (host) — bool
  • (createdAt) — Date
  • (updatedAt) — Date
  • (deletedAt) — Date
  • (birth) — Date
  • (phoneNumber) — varchar

Users_Images (사용자와 이미지 매핑)

  • (userId) — int — 외래 키 → Users.userId — NOT NULL
  • (groupId) — int — 외래 키 → Users.groupId — NOT NULL
  • (groupById) — int — 외래 키 → Users.groupById — NOT NULL
  • (imageId) — int — 외래 키 → Images.imageId — NOT NULL

VotingInfo (주민 투표 정보)

  • (voteId) — int — 기본 키 — NOT NULL
  • (userId) — int — 외래 키 → Users.userId — NOT NULL
  • (groupId) — int — 외래 키 → Users.groupId — NOT NULL
  • (groupById) — int — 외래 키 → Users.groupById — NOT NULL
  • (title) — Text
  • (description) — Text
  • (createdAt) — Date
  • (deletedAt) — Date
  • (agreementCount) — int Null
  • (oppositionCount) — int Null

dashboard (PostingBoard)

  • id (postingboardID) — int(11) — 기본 키 — NOT NULL
  • 포스팅글 (description) — LONGTEXT
  • 생성날짜 (createdAt) — DateTime
  • 수정날짜 (updatedAt) — DateTime
  • 삭제날짜 (deletedAt) — datetime
  • 소개글대제목 (title) — Text

대카테고리 (Topics)

  • topicID — int — 기본 키 — NOT NULL
  • 제목 (title) — varchar(255)
  • createdAt — dateTime

동 (Groups)

  • groupId (Key) — int — 기본 키 — NOT NULL
  • name (Field) — int
  • minWeight (Field3) — int
  • maxWeight (Field4) — int
  • createdAt (Field2) — Date
  • updatedAt (Field5) — Date
  • roomCount (Field6) — int
  • Pricing (Field7) — int

매핑 (M_Topic_PostingBoard)

  • id (postingboardID) — int(11) — 외래 키 → dashboard.id — NOT NULL
  • topicID — int — 외래 키 → 대카테고리.topicID — NOT NULL

매핑 (M_SubTopic_PostingBoardd)

  • id (postingboardID) — int(11) — 외래 키 → dashboard.id — NOT NULL
  • 소카테고리ID (subtopicID) — int — 외래 키 → 소카테고리.소카테고리ID — NOT NULL

민원내역테이블 (petitions)

  • HelpId (Key) — int — 기본 키 — NOT NULL
  • userId (Key2) — int — 외래 키 → Users.userId — NOT NULL
  • groupId (Key22) — int — 외래 키 → Users.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → Users.groupById — NOT NULL
  • title — varchar
  • description — Text
  • createdAt — Date
  • successedAt — Date
  • deletedAt — Date
  • Field (kind) — varchar
  • Field (stage) — varchar

소카테고리 (SubTopics)

  • 소카테고리ID (subtopicID) — int — 기본 키 — NOT NULL
  • topicID (topicID2) — int — 외래 키 → 대카테고리.topicID — NOT NULL
  • 제목 (title) — varchar(255)
  • 생성날짜 (createdAt) — datetime

시설도구,물이용내역 (FacilityInfo)

  • FacilityId (Key) — int — 기본 키 — NOT NULL
  • userId (Key2) — int — 외래 키 → Users.userId — NOT NULL
  • groupId (Key22) — int — 외래 키 → Users.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → Users.groupById — NOT NULL
  • HelpId (Key4) — int — 외래 키 → 민원내역테이블.HelpId — NOT NULL
  • createdAt (Field6) — Date
  • updatedAt (Field7) — Date
  • deletedAt (Field8) — Date
  • description (Field9) — Text
  • quantiy (Field10) — int

외부출입자사진 (OutterImages)

  • imageId (Key) — int — 기본 키 — NOT NULL
  • name (Field) — varchar
  • createdAt (Field6) — Date
  • updatedAt (Field7) — Date

외부출입자와 이미지매핑 (outterUser_images)

  • Key (outterUserid) — int — 외래 키 → 외부춟입자.Key — NOT NULL
  • userId (Key2) — int — 외래 키 → 외부춟입자.userId — NOT NULL
  • groupId (Key22) — int — 외래 키 → 외부춟입자.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → 외부춟입자.groupById — NOT NULL
  • adminId (Key4) — int — 외래 키 → 외부춟입자.adminId — NOT NULL
  • imageId (Key) — int — 외래 키 → 외부출입자사진.imageId — NOT NULL

외부춟입자 (outterUser)

  • Key (outterUserid) — int — 기본 키 — NOT NULL
  • userId (Key) — int — 외래 키 → Users.userId — NOT NULL
  • groupId (Key2) — int — 외래 키 → Users.groupId — NOT NULL
  • groupById (Key3) — int — 외래 키 → Users.groupById — NOT NULL
  • adminId (Key4) — int — 외래 키 → Admin.adminId — NOT NULL
  • 이름 (name) — varchar
  • 용무 (description) — Text
  • 신청날짜 (createdAt) — DateTime
  • 수정날짜 (updatedAt) — DateTime
  • 전화번호 (phoneNumber) — varchar

호 (GroupsByGroups)

  • GroupById (Key) — int — 기본 키 — NOT NULL
  • groupId (Key2) — int — 외래 키 → 동.groupId — NOT NULL
  • name (Field) — int
  • repairCount (Field2) — int Null
  • createdAt (Field3) — Date Null
  • UpdatedAt (Field4) — Date Null
  • deletedAt (Field5) — Date Null
  • housePassword (Field7) — varchar
  • Pricing (Field8) — int