smartbox
Tables (90)
admin
- idx — int — Primary key — NOT NULL — SEQ
- id — varchar(50) — NOT NULL — id
- pw — varchar(50) — NOT NULL — pw
- name — varchar(50) — NOT NULL — 이름
- tel — varchar(20) — 연락처
- mobile — varchar(13) — 핸드폰번호
- description — text — 소개글
- role — char(3) — 관리자권한 (1:1:1)
- regdate — datetime — 등록일
agency
- idx — int — Primary key — NOT NULL — agency PK
- company_nm — varchar(50) — NOT NULL — 업체명
- company_num — varchar(15) — NOT NULL — 사업자번호
- company_type — smallint — NOT NULL — 사업자구분(COMPNY)
- rep_nm — varchar(50) — 대표자명
- rep_tel — char(13) — 대표전화번호
- rep_email — varchar(30) — 대표Email
- zipcode — char(5) — 우편번호
- address — varchar(100) — 주소
- addr_detail — varchar(100) — 상세주소
- description — text — 소개글
- regdate — datetime
- moddate — datetime
agency_member
- idx — int — Primary key — NOT NULL — agency_member PK
- agc_idx — int — NOT NULL — agency FK
- id — varchar(20) — NOT NULL — ID
- pw — varchar(50) — NOT NULL — 패스워드
- name — varchar(20) — 이름
- email — varchar(30) — 이메일
- mobile — char(13) — 핸드폰번호
- gender — tinyint — 성별(GENDER)
- birth — char(8) — 생일
- rate — char(3) — 관리자등급(ARATE)
- admission — tinyint — 승인여부 (ADMISS)
- leaved — tinyint — 탈퇴여부(LEAVE)
- regdate — datetime — 등록일
- moddate — datetime — 탈퇴일
agency_member_auth
- requestnum — varchar(30) — Primary key — NOT NULL — 요청번호
- responsenum — varchar(30) — NOT NULL — 응답번호
- auth_type — char(1) — NOT NULL — 인증수단(AUTH)
- dup_info — varchar(100) — NOT NULL — 중복가입 확인값DI
- name — varchar(20) — 이름
- mobile — char(13) — 핸드폰번호
- birth — char(8) — 생년월일
- gender — tinyint — 성별(GENDER)
- national — tinyint — 내/외국인정보
- mcop — varchar(30) — 통신사
- msg — text — 메세지
- used — tinyint — 사용여부(USED)
- regdate — datetime — 등록일
- moddate — datetime — 수정일
agency_member_auth_failed
- requestnum — varchar(30) — NOT NULL — 요청번호
- auth_type — char(1) — 인증수단(AUTH)
- errorcode — varchar(50) — 오류코드(확인후사이즈변경)
- msg — text — 메세지
- regdate — datetime — 등록일
agency_member_device
- agc_mem_idx — int — Primary key — NOT NULL — agency_member FK
- os — tinyint — OS정보(os)
- deviceid — varchar(50) — deviceID
- token — text — device Token
agency_member_info
- agc_mem_idx — int — Primary key — NOT NULL — agency_member FK
- tel — char(13) — 일반전화
- tutorial — tinyint — 튜토리얼사용여부(USED)
- push — tinyint — 푸시사용여부(USED)
- regdate — datetime — 등록일시
- moddate — datetime — 수정일시
agency_member_leave
- agc_mem_idx — int — Primary key — NOT NULL — agency_member FK
- cate — tinyint — NOT NULL — 탈퇴카테고리(AGCLVE)
- reason — varchar(100) — 탈퇴사유
- regdate — datetime — NOT NULL — 탈퇴일시
agency_member_push
- agc_mem_idx — int — NOT NULL — agency_member FK
- box_idx — int — sb_box FK
- used — tinyint — 사용여부(USED)
agency_member_store
- agc_mem_idx — int — NOT NULL — agency_member fk
- agc_sto_idx — int — NOT NULL — agency_store fk
agency_store
- idx — int — Primary key — NOT NULL — agency_store PK
- agc_idx — int — NOT NULL — agency FK
- name — varchar(100) — NOT NULL — 지점명
- company_num — char(15) — 사업자번호
- zipcode — char(5) — 우편번호
- address — varchar(100) — 주소
- addr_detail — varchar(100) — 상세주소
- cate — tinyint — 상권(AREA)
- contract — tinyint — 계약여부(CONTR)
- used — tinyint — 사용여부(USED)
- regdate — datetime — 등록일
- moddate — datetime — 수정일
- pg_comm — float — NOT NULL — PG수수료
- vd_comm — float — NOT NULL — VD수수료
app_banner
- idx — int — Primary key — NOT NULL — app_banner PK
- os_cd — tinyint — OS구분코드(OS)
- app_cd — tinyint — NOT NULL — 앱구분코드(APP)
- image — varchar(100) — 배너이미지
- link — varchar(100) — 링크URL
- sdate — datetime — 게시시작일
- edate — datetime — 게시종료일
- description — text — 배너설명
- sort — tinyint — 순서
- used — tinyint — 사용여부(USED)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
app_category
- cate — char(6) — Primary key — NOT NULL — 카테고리코드
- cate_vu — varchar(10) — Primary key — NOT NULL — 카테고리값
- cate_nm — varchar(50) — NOT NULL — 카테고리명
- description — text — 카테고리설명
app_caution
- idx — int — Primary key — NOT NULL — app_caution PK
- os_cd — tinyint — OS구분코드(OS)
- app_cd — tinyint — NOT NULL — 앱구분코드(APP)
- image — varchar(100) — NOT NULL — 주의사항이미지
- sort — tinyint — 순서
- used — tinyint — 사용여부(USED)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
app_code
- code — varchar(6) — Primary key — NOT NULL — 카테고리코드
- code_vu — varchar(6) — Primary key — NOT NULL — 코드값
- code_nm — varchar(150) — 코드명
- code_va — tinyint — 코드필수
- description — text — 코드설명
app_info
- os_cd — tinyint — Primary key — NOT NULL — os(OS)
- c_version_pre — varchar(6) — NOT NULL — 사용자 로그인가능한 이전 버전
- c_version — varchar(6) — 사용자 버전
- a_version_pre — varchar(6) — 박스관리자 로그인가능한 이전 버전
- a_version — varchar(6) — 박스관리자 버전
- s_version — varchar(5) — NOT NULL — Server 버전
- loadtime — smallint — 로딩시간
- tutorial — tinyint — 튜토리얼여부 (0:튜토리얼노출안함,1:튜토리얼실행)
- caution — smallint — 주의사항횟수
- regdate — datetime — 등록일
- moddate — datetime — 수정일
- ordchk_interval — smallint — order check interval
- ordchk_times — smallint — order check times
- c_auth_conn — int
- c_auth_purchase — int
- a_auth_inventory — int
- a_auto_logout_min — int
- c_auto_logout_min — int
app_popup
- idx — int — Primary key — NOT NULL — app_popup PK
- os_cd — tinyint — OS구분코드(OS)
- app_cd — tinyint — 앱구분코드(APP)
- image — varchar(100) — 팝업이미지
- link — varchar(100) — 링크URL
- sdate — datetime — 게시시작일
- edate — datetime — 게시종료일
- description — text — 팝업설명
- sort — tinyint — 정렬
- used — tinyint — 사용여부(USED)
- regdate — datetime — 등록일
- moddate — datetime — 수정일
app_search
- sch_cd — char(6) — Primary key — NOT NULL — 검색코드
- con_cd — char(6) — Primary key — NOT NULL — 조건코드
- con_nm — varchar(50) — 조건명
- con_vu_cd — char(6) — 조건값코드
- sort — tinyint — 순서
- description — text — 검색설명
app_tutorial
- idx — int — Primary key — NOT NULL — app_tutorial PK
- os_cd — tinyint — OS구분코드(OS)
- app_cd — tinyint — NOT NULL — 앱구분코드(APP)
- image — varchar(100) — NOT NULL — 튜토리얼이미지
- sort — tinyint — 순서
- used — tinyint — 사용여부(USED)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
card_confirm_req_log
- idx — int — Primary key — NOT NULL — card_confirm_req_log PK
- shp_id — char(30) — NOT NULL — shoppingid
- serial — char(32) — NOT NULL — 박스시리얼
- tid — varchar(100) — 암호화된유효한결제정보 or tid
- ip — varchar(20) — 결제된 container의 ip정보
- code — char(2) — 결과코드
- msg — varchar(100) — 결과메세지
- senddate — datetime — 요청시간
- regdate — datetime — 등록일
card_confirm_resp_log
- req_idx — int — card_confirm_req_log FK
- ord_idx — int — NOT NULL — sb_card_order FK
- code — char(7) — 결과코드
- msg — varchar(100) — 결과메세지
- regdate — datetime — 등록일
card_open_req_log
- idx — int — Primary key — NOT NULL — card_open_req_log PK
- serial — char(32) — NOT NULL — 박스시리얼
- ip — varchar(20) — 요청IP
- senddate — datetime — 요청시간
- regdate — datetime — 등록일시
card_open_resp_log
- req_idx — int — Primary key — NOT NULL — card_open_req FK
- shp_id — char(30) — shoppingid
- code — char(6) — 결과코드
- msg — varchar(100) — 결과메세지
- regdate — datetime — 등록일시
card_order_req_log
- shp_id — char(30) — Primary key — NOT NULL — shopping id, order idx FK
- serial — char(32) — NOT NULL — sb_container serial FK
- reqcount — int — polling 방식으로 인한 요청 횟수
- senddate — datetime — 요청시간
- regdate — datetime — 등록일시
card_order_resp_log
- shp_id — char(30) — Primary key — NOT NULL — shoppingid
- ord_idx — int — NOT NULL — sb_card_order FK
- quantity — int — 총구매갯수
- price — int — 총상품금액
- sale_price — int — 실제결제금액
- code — char(6) — 결과코드
- msg — varchar(100) — 결과메세지
- regdate — datetime — 등록일
- moddate — datetime — 수정일
gbox_detect_log
- idx — int — Primary key — NOT NULL — gbox_detect_log PK
- url_idx — int — NOT NULL — gbox_imgurls_log FK
- detect — json — 인식결과JSON
- dtc_layer_1 — json — 인식결과선반1
- dtc_layer_2 — json — 인식결과선반2
- dtc_layer_3 — json — 인식결과선반3
- dtc_layer_4 — json — 인식결과선반4
- regdate — datetime — 등록일시
- ratetime — smallint — 경과시간(ms)
gbox_doormsg_log
- idx — int — Primary key — NOT NULL — gbox_door_log PK
- shp_id — char(30) — shoppingid FK
- serial — char(32) — device serial
- status — tinyint — 상태(DOORSTS)
- regdate — datetime — 등록일시
gbox_imgtaken_log
- idx — int — Primary key — NOT NULL — seq
- shp_id — char(30) — shoppingid
- regdate — datetime — 등록일시
gbox_imgurls_log
- idx — int — Primary key — NOT NULL — seq
- shp_id — char(30) — shoppingid
- timestamp — timestamp — timestamp
- image1 — varchar(100) — image1
- image2 — varchar(100) — image2
- image3 — varchar(100) — image3
- image4 — varchar(100) — image4
- regdate — datetime — 등록일시
gbox_lockmsg_log
- idx — int — Primary key — NOT NULL — seq
- shp_id — char(30) — shoppingid
- serial — char(32) — 박스시리얼
- status — tinyint — 상태(LOCKSTS)
- regdate — datetime — 등록일시
gbox_open_log
- idx — int — Primary key — NOT NULL — gbox_open_log PK
- shp_id — char(30) — NOT NULL — shoppingid
- serial — char(32) — NOT NULL — 박스시리얼
- regdate — datetime — NOT NULL — 등록일
- ratetime — int — NOT NULL — 경과시간(ms)
gbox_token_log
- idx — int — Primary key — NOT NULL — seq
- shp_id — char(50) — NOT NULL — shoppingid
- token — varchar(200) — token
- regdate — datetime — 등록일시
- ratetime — smallint — 경과시간(ms)
member
- idx — int — Primary key — NOT NULL — SEQ
- id — varchar(20) — NOT NULL — id
- pw — varchar(50) — pw
- name — varchar(20) — 이름
- email — varchar(30) — 이메일
- mobile — char(13) — 핸드폰번호
- gender — tinyint — NOT NULL — 성별(GENDER)
- birth — char(8) — 생년월일
- rate — tinyint — 회원등급(MRATE)
- leaved — tinyint — NOT NULL — 탈퇴여부(LEAVE)
- reg_type — tinyint — NOT NULL — 가입타입
- dup_info — varchar(100) — 중복가입 확인값DI
- conn_info — varchar(100) — 중복가입 확인값CI
- sns_id — varchar(150) — SNS별 고유값
- regdate — datetime — 등록일
- moddate — datetime — 수정일
member_auth
- requestnum — varchar(30) — Primary key — NOT NULL — 요청번호
- responsenum — varchar(30) — NOT NULL — 응답번호
- auth_type — char(1) — NOT NULL — 인증수단(AUTH)
- dup_info — varchar(100) — NOT NULL — 중복가입 확인값DI
- conn_info — varchar(100) — 중복가입 확인값CI
- name — varchar(50) — 이름
- mobile — char(13) — 핸드폰번호
- birth — char(8) — 생년월일
- gender — tinyint — 성별(GENDER)
- national — tinyint — 내/외국인정보
- mcop — varchar(10) — 통신사
- msg — text — 메세지
- used — tinyint — 사용여부(USED)
- regdate — datetime — 등록일
- moddate — datetime
member_auth_failed
- requestnum — varchar(30) — Primary key — NOT NULL — 요청번호
- auth_type — char(1) — 인증수단(AUTH)
- errorcode — varchar(10) — 오류코드
- msg — text — 메세지
- regdate — datetime — 등록일
member_black
- idx — int — Primary key — NOT NULL — member_black PK
- mem_idx — int — NOT NULL — member FK
- black — tinyint — NOT NULL — 해제여부(BLACK)
- blktype — tinyint — NOT NULL — 등록사유구분(BLKTYPE)
- ord_idx — int — sb_order FK
- reg_rsn — varchar(100) — 등록사유
- rel_rsn — varchar(100) — 해제사유
- reg_agc_mem_idx — int — 등록 agency_member FK
- rel_agc_mem_idx — int — 해제 agency_member FK
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
member_card
- idx — int — Primary key — NOT NULL — seq
- mem_idx — int — NOT NULL — member idx FK
- code — char(2) — NOT NULL — 카드사(CCARD)
- kind — tinyint — 카드구분(COMPNY)
- card_type — tinyint — 카드종류(TCARD)
- card_num — varchar(30) — NOT NULL — 카드번호
- expire — char(4) — NOT NULL — 카드유효기간
- billkey — varchar(100) — NOT NULL — 빌링키 (이니시스에서 리턴받은데이터)
- authcode — varchar(10) — 승인번호 (이니시스에서 리턴받은데이터)
- moid — varchar(50) — 가맹점id
- tid — varchar(50) — NOT NULL — 결제승인 tid
- result — char(2) — 결과코드
- result_msg — varchar(100) — 결과메세지
- used — tinyint — NOT NULL — 사용여부(USED)
- regdate — datetime — 등록일시
- moddate — datetime — 변경일시
member_device
- mem_idx — int — Primary key — NOT NULL — member idx
- os — tinyint — OS정보(OS)
- deviceid — varchar(50) — 기기ID
- token — text — 기기Token
member_info
- mem_idx — int — Primary key — NOT NULL — member idx FK
- rep_card_idx — int — member_card FK
- tutorial — tinyint — 튜토리얼사용여부(USED)
- push — tinyint — 푸시사용여부(USED)
- caution — tinyint — 주의사항카운트
- agree — tinyint — 약관동의(AGREE)
- black — tinyint — (체크)블랙등록여부(BLACK)
- regdate — datetime — 등록일시
- moddate — datetime — 변경일시
member_info_card_log
- mem_card_idx — int — NOT NULL — member_info_card idx FK
- mem_idx — int — NOT NULL — member idx FK
- event — varchar(50) — NOT NULL — 행동로그
- regdate — datetime — 등록일시
member_leave
- mem_idx — int — Primary key — NOT NULL — member FK
- cate — tinyint — NOT NULL — 탈퇴카테고리(MEMLVE)
- reason — varchar(100) — 탈퇴사유
- regdate — datetime — 탈퇴일시
member_link
- mem_idx — int — Primary key — NOT NULL — member idx FK
- lnk_type — tinyint — Primary key — NOT NULL — 연동타입
- sns_id — varchar(150) — NOT NULL — SNS별 고유값
- used — tinyint — NOT NULL — 연동여부
- conn_info — varchar(100) — CI
- regdate — datetime — 등록일시
- moddate — datetime — 변경일시
member_memo
- mem_idx — int — Primary key — NOT NULL — member FK
- agc_mem_idx — int — NOT NULL — agency_member FK
- content — varchar(300) — 메모내용
- regdate — datetime — 등록일시
- moddate — datetime — 변경일시
member_point
- mem_idx — int — Primary key — NOT NULL — member idx FK
- point — int — NOT NULL — 적립금
- moddate — datetime — 최근변경일
member_point_log
- idx — int — Primary key — NOT NULL — SEQ
- mem_idx — int — NOT NULL — member idx FK
- title — varchar(50) — NOT NULL — 내역
- point — int — NOT NULL — 적립금
- regdate — datetime — 최근변경일
notice
- idx — int — Primary key — NOT NULL — notice PK
- agc_mem_idx — int — 작성자 idx
- exp_page — tinyint — 노출 페이지(0:유저APP, 1:관리자APP)
- cate — tinyint — 카테고리코드
- title — varchar(100) — NOT NULL — 제목
- contents — text — 내용
- count — int — 클릭 카운트
- used — smallint — 게시여부(POST)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
notice_agency
- idx — int — Primary key — NOT NULL — notice_agency PK
- adm_idx — int — admin FK
- cate — tinyint — 카테고리코드
- title — varchar(100) — NOT NULL — 제목
- contents — text — 내용
- count — int — 클릭 카운트
- used — smallint — 게시여부(POST)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
notice_agency_event
- idx — int — Primary key — NOT NULL — notice_agency_event PK
- adm_idx — int — NOT NULL — admin FK
- cate — tinyint — 카테고리코드
- title — varchar(100) — NOT NULL — 제목
- contents — text — 내용
- sdate — datetime — 시작일
- edate — datetime — 종료일
- count — int — 클릭 카운트
- used — tinyint — 게시여부(POST)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
notice_agency_faq
- idx — int — Primary key — NOT NULL — notice_agency_faq PK
- adm_idx — int — NOT NULL — 작성자 admin idx
- cate — tinyint — NOT NULL — 카테고리코드
- title — varchar(100) — 제목
- contents — text — 내용
- count — int — 클릭 카운트
- used — smallint — 게시여부(POST)
- regdate — datetime — 등록일
- moddate — datetime — 수정일
notice_agency_qna
- que_idx — int — Primary key — NOT NULL — notice_agency_que FK
- adm_idx — int — admin FK
- title — varchar(100) — 제목
- contents — text — 내용
- used — tinyint — 게시여부(POST)
- regdate — datetime — 등록일
- moddate — datetime — 수정일
notice_agency_que
- idx — int — Primary key — NOT NULL — notice_agency_que PK
- agc_mem_idx — int — agency_member FK
- cate — tinyint — 카테고리
- title — varchar(100) — NOT NULL — 제목
- contents — text — 내용
- status — tinyint — 상태(ANSWER)
- used — tinyint — 게시여부(POST)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
notice_event
- idx — int — Primary key — NOT NULL — notice_event PK
- agc_mem_idx — int — NOT NULL — 작성자 idx
- exp_page — tinyint — 노출 페이지(0:유저APP, 1:관리자APP)
- cate — tinyint — 카테고리코드
- title — varchar(100) — NOT NULL — 제목
- contents — text — 내용
- sdate — datetime — 시작일
- edate — datetime — 종료일
- count — int — 클릭 카운트
- used — tinyint — 게시여부(POST)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
notice_faq
- idx — int — Primary key — NOT NULL — SEQ
- adm_idx — int — NOT NULL — 작성자 admin idx
- exp_page — tinyint — 노출 페이지(0:유저APP, 1:관리자APP)
- cate — tinyint — NOT NULL — 카테고리코드
- title — varchar(100) — 제목
- contents — text — 내용
- count — int — 클릭 카운트
- used — smallint — 게시여부(POST)
- regdate — datetime — 등록일
- moddate — datetime — 수정일
notice_qua
- idx — int — Primary key — NOT NULL — PK
- mem_idx — int — member FK
- agc_idx — int — 답변자 agc_idx
- exp_page — tinyint — 노출페이지
- ord_idx — int — sb_order idx FK
- cate — tinyint — 카테고리
- title — varchar(100) — NOT NULL — 제목
- contents — text — 내용
- answer — text — 답변내용
- status — tinyint — 상태(ANSWER)
- used — tinyint — 게시여부(POST)
- regdate — datetime — NOT NULL — 등록일
- ansdate — datetime
- moddate — datetime — 수정일
notice_que
- idx — int — Primary key — NOT NULL — PK
- mem_idx — int — member FK
- w_mem_idx — int — 작성자 idx
- exp_page — tinyint — 노출페이지
- ord_idx — int — sb_order idx FK
- cate — tinyint — 카테고리
- title — varchar(100) — NOT NULL — 제목
- contents — text — 내용
- status — tinyint — 상태(ANSWER)
- used — tinyint — 게시여부(POST)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
policy_payment
- idx — int — Primary key — NOT NULL
- card_type — int
- using_type — int
- value — int
policy_refound
- idx — int — Primary key — NOT NULL
- name — varchar(30)
- value — varchar(30)
policy_terms_of_service
- app_type — int
- catagory — varchar(20)
- c_context — varchar(10240)
- a_context — varchar(10240)
sb_box
- idx — int — Primary key — NOT NULL — sb_box PK
- id — int(8) — NOT NULL — 박스ID
- serial — char(32) — 박스 시리얼번호
- status — tinyint — 상태(BOXSTS)
- used — tinyint — 사용여부(USED)
- regdate — datetime — 등록일시
- moddate — datetime — 수정일시
sb_box_detect
- box_idx — int — Primary key — NOT NULL — sb_box FK
- pre_dtc_idx — int — gbox_detec_log FK
- pre_dtc — json — 비교한 detect
- last_dtc_idx — int — gbox_detec_log FK
- last_dtc — json — 비교할 detect
- upddate — datetime — 업데이트일시
sb_box_detect_log
- idx — int — Primary key — NOT NULL — sb_box_detect_log PK
- box_idx — int — NOT NULL — sb_box FK
- shp_id — char(30) — shoppingid
- pre_dtc_idx — int — gbox_detec_log FK
- last_dtc_idx — int — gbox_detec_log FK
- regdate — datetime — 등록일시
sb_box_goods_log
- idx — int — Primary key — NOT NULL — sb_box_goods_log PK
- box_idx — int — NOT NULL — sb_box FK
- shp_id — char(30) — shoppingid
- skuid — int — NOT NULL — skuid
- quantity — smallint — 변경수량
- valid — tinyint — 상품유효(VALID)
- regdate — datetime — 등록일
sb_box_info
- box_idx — int — Primary key — NOT NULL — sb_box FK
- agc_idx — int — agency FK
- agc_sto_idx — int — agency_store FK
- alias — varchar(100) — 별칭
- cd_serial — varchar(45) — (예정)카드단말기 시리얼
- description — text — 설명글
- regdate — datetime — 등록일시
- moddate — datetime — 수정일시
sb_box_store_log
- idx — int — Primary key — NOT NULL — sb_box_store_log PK
- box_idx — int — sb_box FK
- agc_idx — int — agency FK
- agc_sto_idx — int — agency_store FK
- agc_mem_idx — int — 수정자 FK
- regdate — datetime — NOT NULL — 등록일
sb_card_order
- idx — int — Primary key — NOT NULL — sb_card_order PK
- box_idx — int — sb_box FK
- shp_id — char(30) — shoppingid
- releaseid — varchar(50) — RFID_db.releaseid
- gname — varchar(100) — 상품명
- status — tinyint — 상태(ORDSTS)
- regdate — datetime — 등록일시
- moddate — datetime — 수정일시
sb_card_order_detail
- idx — int — Primary key — NOT NULL — sb_order_detail PK
- ord_idx — int — NOT NULL — sb_card_order FK
- skuid — int — NOT NULL — skuid
- quantity — smallint — NOT NULL — 수량
- sale_type — tinyint — 할인구분
- svalue — int — 할인값
- price — int — 금액
- sale_price — int — 할인적용상품전체판매금액
- valid — tinyint — 상품유효(VALID)
- regdate — datetime — 등록일시
sb_card_pay
- idx — int — Primary key — NOT NULL — sb_card_pay PK
- ord_idx — int — sb_card_order FK
- price — int — 금액
- tid — varchar(50) — 카드정보
- result — varchar(10) — 결과값
- result_msg — varchar(100) — 결과메세지
- regdate — datetime — 등록일시
sb_goods
- idx — int — Primary key — NOT NULL — sb_goods PK
- skuid — int — Primary key — NOT NULL — 상품 skuid
- name — varchar(50) — NOT NULL — 상품명
- gcode — varchar(20) — (체크)상품코드
- barcode — char(14) — 바코드
- brand — int — sb_goods_brand FK
- price — int — 정가
- image — varchar(100) — 이미지URL
- weight — int — 중량(무게)
- status — tinyint — 상태(GDSSTS)
- used — tinyint — 사용여부(USED)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
sb_goods_agency
- gds_idx — int — Primary key — NOT NULL — sb_goods FK
- agc_idx — int — Primary key — NOT NULL — agency FK
- gcode — varchar(20) — (체크)상품코드
- price — int — 상품가격 (정가)
- sale_type — tinyint — 할인타입
- svalue — int — 할인값
- purchase — int — 매입가
- used — tinyint — 사용여부(USED)
- regdate — datetime — 등록일시
- moddate — datetime — 수정일
- safestock — int — 안전재고수량
- safestock_alm — tinyint — 안전재고알림
- safedate — datetime — 안전기한
- expdate — datetime — 유통기한
- expdate_alm — tinyint — 유통기한알림
sb_goods_agency_log
- idx — int — Primary key — NOT NULL — sb_goods_store_log PK
- gds_idx — int — NOT NULL — sb_goods FK
- agc_idx — int — NOT NULL — agency FK
- agc_mem_idx — int — agency_member FK
- price — int — 정가
- sale_type — tinyint — 할인타입
- svalue — int — 할인값
- purchase — int — 매입가
- used — tinyint — 사용여부(USED)
- regdate — datetime — 등록일시
- safestock — int — 안전재고수량
- safestock_alm — tinyint — 안전재고알림
- safedate — datetime — 안전기한
- expdate — datetime — 유통기한
- expdate_alm — tinyint — 유통기한알림
sb_goods_box
- gds_idx — int — Primary key — NOT NULL — sb_goods FK
- box_idx — int — Primary key — NOT NULL — sb_box FK
- price — int — NOT NULL — 정가
- sale_type — tinyint — 할인타입
- svalue — int — 할인값
- purchase — int — 매입가
- used — tinyint — 사용여부(USED)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
- safestock — int — 안전재고수량
- safestock_alm — tinyint — 안전재고알림
- safedate — datetime — 안전기한
- expdate — datetime — 유통기한
- expdate_alm — tinyint — 유통기한알림
sb_goods_box_log
- idx — int — Primary key — NOT NULL — sb_goods_store_log PK
- gds_idx — int — NOT NULL — sb_goods FK
- box_idx — int — NOT NULL — sb_box FK
- agc_mem_idx — int — NOT NULL — 수정자 FK
- price — int — 정가
- sale_type — tinyint — 할인타입
- svalue — int — 할인값
- purchase — int — 매입가
- used — tinyint — 사용여부(USED)
- regdate — datetime — NOT NULL — 등록일
- safestock — int — 안전재고수량
- safestock_alm — tinyint — 안전재고알림
- safedate — datetime — 안전기한
- expdate — datetime — 유통기한
- expdate_alm — tinyint — 유통기한알림
sb_goods_brand
- idx — int — Primary key — NOT NULL
- brand — varchar(50) — NOT NULL
sb_goods_store
- gds_idx — int — Primary key — NOT NULL — sb_goods FK
- agc_sto_idx — int — Primary key — NOT NULL — agency_store FK
- price — int — NOT NULL — 정가
- sale_type — tinyint — 할인타입
- svalue — int — 할인값
- purchase — int — 매입가
- used — tinyint — NOT NULL — 사용여부(USED)
- regdate — datetime — NOT NULL — 등록일
- moddate — datetime — 수정일
- safestock — int — 안전재고수량
- safestock_alm — tinyint — 안전재고알림
- safedate — datetime — 안전기한
- expdate — datetime — 유통기한
- expdate_alm — tinyint — 유통기한알림
sb_goods_store_log
- idx — int — Primary key — NOT NULL — sb_goods_store_log PK
- gds_idx — int — NOT NULL — sb_goods FK
- agc_sto_idx — int — NOT NULL — agency_store FK
- agc_mem_idx — int — NOT NULL — 수정자 FK
- price — int — 정가
- sale_type — tinyint — 할인타입
- svalue — int — 할인값
- purchase — int — 매입가
- used — tinyint — 사용여부
- regdate — datetime — NOT NULL — 등록일
- safestock — int — 안전재고수량
- safestock_alm — tinyint — 안전재고알림
- safedate — datetime — 안전기한
- expdate — datetime — 유통기한
- expdate_alm — tinyint — 유통기한알림
sb_inventory
- idx — int — Primary key — NOT NULL — sb_inventory PK
- agc_mem_idx — int — agency_member FK
- box_idx — int — sb_box FK
- shp_id — char(30) — shoppingid
- gname — varchar(100) — 상품명
- status — tinyint — 상태(INVSTS)
- regdate — datetime — 등록일시
- moddate — datetime — 수정일시
sb_inventory_detail
- idx — int — Primary key — NOT NULL — sb_inven_detail PK
- inv_idx — int — NOT NULL — sb_inven FK
- skuid — int — NOT NULL — skuid
- quantity — smallint — NOT NULL — 수량
- valid — tinyint — NOT NULL — 상품유효(VALID)
- regdate — datetime — 등록일시
sb_order
- idx — int — Primary key — NOT NULL — sb_order PK
- mem_idx — int — member idx fk
- box_idx — int — sb_box FK
- shp_id — varchar(50) — shoppingid
- gname — varchar(100) — 상품명
- status — smallint — 상태(ORDSTS)
- regdate — datetime — 등록일시
- moddate — datetime — 수정일시
sb_order_detail
- idx — int — Primary key — NOT NULL — sb_order_detail PK
- ord_idx — int — NOT NULL — sb_order FK
- skuid — int — NOT NULL — skuid
- quantity — int — NOT NULL — 수량
- sale_type — tinyint — 할인구분
- svalue — int — 할인값
- price — int — NOT NULL — 금액
- sale_price — int — 할인적용상품전체판매금액
- valid — smallint — NOT NULL — 상품유효(VALID)
- regdate — datetime — 등록일시
sb_order_memo
- ord_idx — int — Primary key — NOT NULL — sb_order FK
- agc_mem_idx — int — NOT NULL — agency_member FK
- content — varchar(300) — 메모내용
- regdate — datetime — 등록일시
- moddate — datetime — 변경일시
and 10 more tables