Maintenance Web
Tables (11)
Client (고객사)
- id (고객사 아이디) — Number — Primary key — NOT NULL
- name (이름) — String
- stateOrder (상태 순서) — String
Comment (댓글)
- id (댓글 아이디) — Number — Primary key — NOT NULL
- postId (게시물 아이디) — Number — Foreign key → Post.id — NOT NULL
- userId (회원 아이디) — Number — Foreign key → User.id — NOT NULL
- detail (내용) — String
- isDevOnly (개발자 전용 여부) — Boolean
- createdAt (생성일) — Date
- updatedAt (수정일) — Date
CommentFile (댓글 파일)
- commentId (댓글 아이디) — Number — Foreign key → Comment.id — NOT NULL
- fileId (파일 아이디) — String — Foreign key → FileMeta.id — NOT NULL
- createdAt (생성일) — Date
- updatedAt (수정일) — Date
FileMeta (파일)
- id (파일 아이디) — String — Primary key — NOT NULL
- path (경로) — String
- name (이름) — String
- size (크기) — Int
- type (타입) — String
- createdAt (생성일) — Date
- updatedAt (수정일) — Date
Post (게시물)
- id (게시물 아이디) — Number — Primary key — NOT NULL
- clientId (고객사 아이디) — Number — Foreign key → Client.id — NOT NULL
- projectId (프로젝트 아이디) — Number — Foreign key → Project.id — NOT NULL
- typeId (유형 아이디) — Number — Foreign key → Type.id — NOT NULL
- stateId (상태 아이디) — Number — Foreign key → State.id — NOT NULL
- title (제목) — String
- detail (내용) — String
- issueCode (식별 코드) — String
- writerId (회원 아이디(게시자)) — Number — Foreign key → User.id — NOT NULL
- endAt (완료일) — Date
- priority (우선순위) — Number
- createdAt (생성일) — Date
- updatedAt (수정일) — Date
PostFile (게시물 파일)
- postId (게시물 아이디) — Number — Foreign key → Post.id — NOT NULL
- fileId (파일 아이디) — String — Foreign key → FileMeta.id — NOT NULL
- createdAt (생성일) — Date
- updatedAt (수정일) — Date
PostHandler (담당자)
- postId (게시물 아이디) — Number — Foreign key → Post.id — NOT NULL
- userId (회원 아이디) — Number — Foreign key → User.id — NOT NULL
- createdAt (생성일) — Date
- updatedAt (수정일) — Date
Project (프로젝트)
- id (프로젝트 아이디) — Number — Primary key — NOT NULL
- clientId (고객사 아이디) — Number — Foreign key → Client.id — NOT NULL
- name (이름) — String
State (상태)
- id (상태 아이디) — Number — Primary key — NOT NULL
- clientId (고객사 아이디) — Number — Foreign key → Client.id — NOT NULL
- name (이름) — String
- isDeleted (삭제여부) — Boolean
- colorCode (색상 코드) — String
Type (유형)
- id (유형 아이디) — Number — Primary key — NOT NULL
- name (이름) — String
- isDeleted (삭제여부) — Boolean
- description (설명) — String
User (회원)
- id (회원 아이디) — Number — Primary key — NOT NULL
- clientId (고객사 아이디) — Number — Foreign key → Client.id — NOT NULL
- name (이름) — String
- email (이메일) — String
- password (비밀번호) — String
- type (유형) — enum
- isActive (활성화여부) — Boolean
- profileFileId (프로필 사진 파일 아이디) — String — Foreign key → FileMeta.id — NOT NULL
- slackId (회원 슬랙 ID) — String
- createdAt (생성일) — Date
- updatedAt (수정일) — Date