Legal Consultation
테이블 (5)
게시글 (Contents)
- 게시글번호 (ContentsId) — int — 기본 키 — NOT NULL
- 방번호 (RoomId) — int — 외래 키 → 방.방번호 — NOT NULL
- 내용 (Contents) — nvarchar(max) — NOT NULL
- 파일경로 (FilePath) — nvarchar(255)
- 작성자 (UserId) — int — NOT NULL
- 진행상태 (State) — Enum — NOT NULL — 검토 요청 - check 수정 요청 - modify 확인 완료 - complete
- 작성일 (CreateDate) — datetime — NOT NULL
- 수정일 (UpdateDate) — datetime
게시글 + 댓글 (Contents + Comment)
- 글번호 (ContentsId) — int — 기본 키 — NOT NULL
- 방번호 (RoomId) — int — 외래 키 → 방.방번호 — NOT NULL
- 제목 (Title) — nvarchar(max)
- 내용 (Contents) — nvarchar(max) — NOT NULL
- 파일경로 (FilePath) — nvarchar(255)
- 작성자 (UserId) — int — NOT NULL
- 진행상태 (State) — int — 검토 요청 - check 수정 요청 - modify 확인 완료 - complete
- 작성일 (CreateDate) — datetime — NOT NULL
- 수정일 (UpdateDate) — datetime
- 상위프로젝트 (ParentId) — int
댓글 (Comment)
- 댓글번호 (CommentId) — int — 기본 키 — NOT NULL
- 게시글번호 (ContentsId) — int — 외래 키 → 게시글.게시글번호 — NOT NULL
- 내용 (Comment) — nvarchar(max) — NOT NULL
- 파일경로 (FilePath) — nvarchar(255)
- 작성자 (UserId) — int — NOT NULL
- 작성일 (CreateDate) — datetime — NOT NULL
- 수정일 (UpdateDate) — datetime
방 (Legal_Room)
- 방번호 (RoomId) — int — 기본 키 — NOT NULL
- 방제목 (Tittle) — nvarchar(100) — NOT NULL
- 회사코드 (CompanyId) — int
- 개설일 (CreateDate) — datetime — NOT NULL
- 설명 (Remark) — nvarchar(max)
참여자 (Legal_Users)
- 번호 (id) — int — 기본 키 — NOT NULL
- 방번호 (RoomId) — int — 외래 키 → 방.방번호 — NOT NULL
- 참여자 (UserId) — int