test_record
Tables (5)
authorities (fininacial_code_users)
- user_id — int — Foreign key → users.Key — NOT NULL
- 권한 이름 (name) — varchar(16) — NOT NULL
- 상태 (status) — varchar(16) — NOT NULL
financial_institutions (financial_codes)
- 고유 id (id) — bigint — Primary key — NOT NULL — Auto Increament
- 금윤 기관 이름 (name) — varchar(32)
- 금융 기관 코드 (code) — varchar(3)
test_profiles (Untitled)
- Key (id) — int — Primary key — NOT NULL
- user_id — int — Foreign key → users.Key — NOT NULL
- 프로필 이름 (name) — str — NOT NULL
- 유형 (type) — str — NOT NULL
- 생성 시간 (created_at) — datetime — NOT NULL
- 프로필 전문 (body) — json — NOT NULL
test_records (CopyOfUntitled)
- 고유 id (id) — bigint — Primary key — NOT NULL — Auto Increament
- 금융 기관 id (financial_institution_id) — bigint — Foreign key → financial_institutions.고유 id — NOT NULL
- 유저 id (user_id) — bigint — Foreign key → users.Key — NOT NULL
- 루프 아이디 (lupe_id) — varchar(32) — NOT NULL — lupe_id 저장
- 서비스 이름 (service_name) — varchar(16) — NOT NULL — 신용, 카드, 오토론, 주담대 저장
- 서비스 타입 (service_type) — varchar(16) — NOT NULL — 조회, 신청, 취소 등 서비스 타입 저장
- 요청 시간 (req_time) — datetime — NOT NULL — datetime.now() 저장
- 요청 전문 (req_body) — text — NOT NULL — request 전문 저장
- 요청 코드 (status) — varchar(3) — NOT NULL — http response code 저장
- 응답 전문 (rst_body) — text — result 전문 저장
- 응답 시간 (rst_time) — datetime
- 요청 입력 전문 (req_input) — json — NOT NULL — request 입력값 저장
users
- Key (id) — int — Primary key — NOT NULL
- 금융 기관 (fin_id) — bigint — Foreign key → financial_institutions.고유 id — NOT NULL
- 유저 이름 (username) — varchar(255) — NOT NULL — 금융사의 경우, 영문 금융사 유저 이름을 사용해야함
- 비밀번호 (password) — varchar(255) — NOT NULL — 비밀번호 암호화 후 저장
- 관리자 여부 (is_admin) — boolean — NOT NULL — 관리자 접근 권한 여부
- 활성화 여부 (is_active) — boolean — NOT NULL — 활성화 여부
- 가입 날짜 (joined_date) — datetime — NOT NULL — 회원가입 날짜