계약서검토서비스

테이블 (5)

Article (문구)

  • 기본키 (id) — int — 기본 키 — NOT NULL
  • 계약서 (contractId) — int — 외래 키 → Contract.기본키 — NOT NULL
  • 문구내용 (sentence) — character(500) — NOT NULL
  • 설명 (description) — character(500) — NOT NULL
  • 법 조항 (law) — character(50) — NOT NULL
  • 수정제안문구 (recommend) — character(500) — NOT NULL
  • 수정여부 (revision) — boolean — NOT NULL
  • 삭제일자 (deletedAt) — date
  • 생성일자 (createdAt) — date — NOT NULL
  • 수정일자 (updatedAt) — date

ArticleType (문구-분야 중간테이블)

  • 기본키 (id) — int — 기본 키 — NOT NULL
  • 문구 (articleId) — int — 외래 키 → Article.기본키 — NOT NULL
  • 분야 (typeId) — int — 외래 키 → Type.기본키 — NOT NULL

Contract (계약서)

  • 기본키 (id) — int — 기본 키 — NOT NULL
  • 분야 (category) — character(20) — NOT NULL
  • 원본 Html (originHtml) — character(200) — NOT NULL
  • 원본 Pdf (originPdf) — character(200)
  • 수정본 Html (resultHtml) — character(200)
  • 수정본 Pdf (resultPdf) — character(500)
  • 삭제일자 (deletedAt) — date
  • 생성일자 (createdAt) — date — NOT NULL
  • 수정일자 (updatedAt) — date

Document (문서)

  • 기본키 (id) — int — 기본 키 — NOT NULL
  • pdf주소 (pdfUrl) — character(500) — NOT NULL
  • 이메일 (email) — character(50) — NOT NULL
  • 비밀번호 (password) — character(20) — NOT NULL
  • 접근주소 (accessLink) — character(500) — NOT NULL
  • 삭제일자 (deletedAt) — date
  • 생성일자 (createdAt) — date — NOT NULL
  • 수정일자 (updatedAt) — date

Type (분야)

  • 기본키 (id) — int — 기본 키 — NOT NULL
  • 이름 (name) — character(20) — NOT NULL — main, toxin, ambi
  • 설명 (description) — character(50) — NOT NULL
  • 식별코드 (code) — character(50) — NOT NULL
  • 활성상태 (status) — boolean — NOT NULL