test

Tables (11)

Advertisement (광고)

  • _id (광고 id) — ObjectId — Primary key — NOT NULL
  • company_id (회사 id) — ObjectId — Foreign key → company._id — NOT NULL
  • adType (관리자 부서) — Enum
  • advertisementSentence (광고 문구) — Array[String]

BranchInfo(nested (지사 정보)

  • name (지사 이름) — String
  • tel (지사 연락처) — String
  • email (지사 대표 이메일) — String
  • address (지사 주소) — String

BusinessManager(nested) (담당자 정보)

  • position (직책) — String
  • task (담당 업무) — String
  • name (담당자 이름) — String
  • phoneNumber (담당자 연락처) — String
  • email (담당자 이메일) — String

admin (관리자)

  • _id (관리자 id) — ObjectId — Primary key — NOT NULL
  • adminDepartment (관리자 부서) — String
  • adminRole (관리자 권한 리스트) — Array[String]
  • name (관리자 이름) — String
  • Field

company (회사)

  • _id (회사 id) — ObjectId — Primary key — NOT NULL
  • manager_id (관리자 id) — ObjectId
  • ceoName (대표자명) — String
  • businessStartDate (설립년도) — Date
  • address (주소) — String
  • businessName (회사명) — String
  • logo (회사 로고 저장 위치) — String
  • representImage (회사 소개용 메인 커버 이미지 위치) — Stromg
  • representContent (회사 소개문) — String
  • rperesentSentence (회사 메인 대표 문구) — String
  • link (회사 홈페이지 주소) — String
  • specializedServices (특화서비스) — Array<Enum>
  • authList (기업 인증 서비스 리스트) — Array<Enum>
  • brochureTitle (회사 소개서/브로셔 제목) — String
  • brochurePath (회사 소개서/브로셔 gcp 내 저장 위치) — String
  • primaryCountry (서비스 강점 국가) — Array[String]
  • likeCnt (좋아요 수) — Number
  • viewCnt (조회수) — Number
  • businessManagaerList (담당자 정보 리스트) — Array<BusinessManger>
  • branchInfoList (지사 정보 리스트) — Array<BranchInfo>

custpia_profile (커스트피아 내 유저 정보)

  • _id (커스트피아 id) — ObjectId — Primary key — NOT NULL
  • permission (부여받은 권한)

employee (연동직원 현황)

  • root_id (루트(주로 법인) id) — ObjectId — Foreign key → integration_user._id — NOT NULL
  • user_id (연동된 유저 id) — ObjectId
  • request_status (연동 상태) — Enum: PENDING, ACCEPT
  • permisiion_list (root에게 허가받은 권한 + 기간) — Array[permission]

industryStatus(nested) (산업 타입)

  • isPicked (선택 여부) — Boolean
  • industry (선택한 산업) — Enum
  • industryEtc (직접 산업군을 입력한 경우) — String

integration_user (통합 유저)

  • _id (유저 id) — ObjectId — Primary key — NOT NULL
  • company_id (회사 id) — ObjectId — Foreign key → company._id — NOT NULL
  • larchive_id (라카이브 id) — ObjectId — Foreign key → larchive_profile._id — NOT NULL
  • custpia_id (커스트피아 id) — ObjectId — Foreign key → custpia_profile._id — NOT NULL
  • nickname (닉네임) — String
  • point (포인트) — number
  • email (이메일) — String
  • outputRefCode (추천인 코드(본인)) — String
  • inputRefCode (추천인 코드(입력)) — String
  • inputRefUserId (입력한 추천인 코드 유저 id) — ObjectId
  • isDeleted (회원 탈퇴 여부) — boolean
  • deletedAt (회원 탈퇴 날짜) — Date
  • role (유저 권한) — Enum
  • tel (전화번호) — String
  • country (지역(국가)) — String
  • userAccountStatus (휴면 계정 여부) — Boolean
  • lastLoginAt (마지막 로그인 날짜) — Date
  • isBusinessAccount (법인 계정 여부) — Boolean
  • memoByAdmin (관리자용 메모) — String
  • adminDepartment (관리자 부서) — Enum
  • adminRole (관리자 권한 리스트) — Array[String]
  • isAdminAccount (관리자 계정 여부) — Boolean
  • isOkForReceive (정보 수신 여부) — Boolean
  • createdAt (회원 가입 날짜) — Date
  • updatedAt (업데이트 날짜) — Date
  • industryStatus (계정 산업) — Object<industryStatus>
  • emailApproved (이메일 승인 여부) — Boolean
  • businessdApproved (법인 승인 여부) — Boolean
  • businessRegisterNo (사업자 등록 번호) — String
  • businessRegistration (사업자 등록증 저장 위치) — String
  • whichSns (가입한 sns) — Enum
  • intereset (관심, 전문 분야) — Array<String>
  • profilePhoto (프로필 사진 경로) — String
  • introduction (자기소개) — String
  • belongToCompany (회사 연동 여부) — Boolean

larchive_profile (라카이브 내 유저 정보)

  • _id (라카이브 id) — ObjectId — Primary key — NOT NULL
  • exp (경험치) — Number
  • isSpecialist (전문가 여부) — Boolean
  • Field

permission(nested) (권한 기간)

  • permission_name (권한 이름)
  • permission_term (권한 기간)