deeging-app
Tables (23)
Banner (TB_BANNER)
- bannerId (banner_id) — INT — Primary key — NOT NULL
- type — ENUM — NOT NULL — 종류
- image — VARCHAR(255) — NOT NULL — 이미지 경로
- description — TEXT — NOT NULL — 설명
- link — TEXT — 링크
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
Calendar (TB_CALENDAR)
- calendarId (calendar_id) — INT — Primary key — NOT NULL
- fandomId (fandom_id) — INT — Foreign key → Fandom.fandomId — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- startDate (start_date) — DATE — NOT NULL — 날짜
- endDate (end_date) — DATE — NOT NULL — 마감 날짜
- startTime (start_time) — TIME — NOT NULL — 시작 시간
- endTime (end_time) — TIME — NOT NULL — 종료 시간
- title — VARCHAR(255) — NOT NULL — 포인트
- image — VARCHAR(255) — NOT NULL — 이미지
- text — TEXT — NOT NULL — 내용
- level — INT — NOT NULL — 레벨
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — 삭제 시간
ChatMessage (TB_CHAT_MESSAGE)
- chatMessageId (chat_message_id) — BIGINT — Primary key — NOT NULL
- chatRoomId (chat_room_id) — INT — Foreign key → ChatRoom.chatRoomId — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- fandomEmojiId (fandom_emoji_id) — INT — Foreign key → FandomEmoji.fandomEmojiId — NOT NULL
- message — TEXT — 메세지
- type — ENUM — NOT NULL — 메세지 종류
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
ChatRoom (TB_CHAT_ROOM)
- chatRoomId (chat_room_id) — INT — Primary key — NOT NULL
- fandomId (fandom_id) — INT — Foreign key → Fandom.fandomId — NOT NULL
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
Coupon (TB_COUPON)
- couponId (coupon_id) — INT — Primary key — NOT NULL
- storeId (store_id) — INT — Foreign key → Store.storeId — NOT NULL
- type — ENUM — NOT NULL — 쿠폰 종류
- code — VARCHAR(50) — NOT NULL — 쿠폰 코드
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
Fandom (TB_FANDOM)
- fandomId (fandom_id) — INT — Primary key — NOT NULL
- name — VARCHAR(100) — NOT NULL — 팬덤 이름
- singerName (singer_name) — VARCHAR(100) — NOT NULL — 가수 이름
- profile — VARCHAR(255) — NOT NULL — 팬덤의 대표 이미지
- nameCard (name_card) — VARCHAR(255) — NOT NULL — 네임카드 이미지
- coinCount (coin_count) — BIGINT — NOT NULL — 보유 코인
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
FandomEmoji (TB_FANDOM_EMOJI)
- fandomEmojiId (fandom_emoji_id) — INT — Primary key — NOT NULL
- fandomId (fandom_id) — INT — Foreign key → Fandom.fandomId — NOT NULL
- image — VARCHAR(255) — NOT NULL — 이미지
- price — INT — NOT NULL — 가격
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
FandomTransaction (TB_FANDOM_TRANSACTION)
- fandomTransactionId (fandom_transaction_id) — BIGINT — Primary key — NOT NULL
- goodsId (goods_id) — INT — Foreign key → Goods.goodsId
- fandomId (fandom_id) — INT — Foreign key → Fandom.fandomId — NOT NULL
- type — ENUM — NOT NULL — 결제 종류
- status — ENUM — NOT NULL — 결제 상태
- price — INT — NOT NULL — 결제 금액
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
Goods (TB_GOODS)
- goodsId (goods_id) — INT — Primary key — NOT NULL
- type — ENUM — NOT NULL — 종류
- name — VARCHAR(255) — NOT NULL — 이름
- price — INT — NOT NULL — 가격
- createdDate (created_date) — INT — NOT NULL — 생성 시간
- modifiedDate (modified_date) — INT — NOT NULL — 수정 시간
GroupPurchase (TB_GROUP_PURCHASE)
- groupPurchaseId (group_purchase_id) — INT — Primary key — NOT NULL
- storeId (store_id) — INT — Foreign key → Store.storeId — NOT NULL
- salesAmount (sales_amount) — DOUBLE — NOT NULL — 할인률
- salesCount (sales_count) — INT — NOT NULL — 판매 수량
- image — VARCHAR(255) — NOT NULL — 이미지
- price — INT — NOT NULL — 금액
- startDate (start_date) — DATETIME — NOT NULL — 시작 날짜
- endDate (end_date) — DATETIME — NOT NULL — 마감 날짜
- link — TEXT — 링크
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
LikeGoods (TB_LIKE_GOODS)
- likeGoodsId (like_goods_id) — INT — Primary key — NOT NULL
- storeGoodsId (store_goods_id) — INT — Foreign key → StoreGoods.storeGoodsId — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
Medal (TB_MEDAL)
- medalId (medal_id) — INT — Primary key — NOT NULL
- fandomId (fandom_id) — INT — Foreign key → Fandom.fandomId — NOT NULL
- name — VARCHAR(100) — NOT NULL — 이름
- point — INT — NOT NULL — 포인트
- image — VARCHAR(255) — NOT NULL — 훈장 이미지
- label — ENUM — NOT NULL — 라벨
- level — INT — NOT NULL — 레벨
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — 삭제 시간
Notice (TB_NOTICE)
- noticeId (notice_id) — INT — Primary key — NOT NULL
- fandomId (fandom_id) — INT — Foreign key → Fandom.fandomId
- type — ENUM — NOT NULL — 종류
- title — VARCHAR(255) — NOT NULL — 제목
- content — TEXT — NOT NULL — 내용
- image — VARCHAR(255) — NOT NULL — 이미지 경로
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
NoticeComment (TB_NOTICE_COMMENT)
- noticeCommentId (notice_comment_id) — INT — Primary key — NOT NULL
- noticeId (notice_id) — INT — Foreign key → Notice.noticeId — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- text — TEXT — NOT NULL — 내용
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
Order (TB_ORDER)
- orderId (order_id) — BIGINT — Primary key — NOT NULL
- storeGoodsId (store_goods_id) — INT — Foreign key → StoreGoods.storeGoodsId
- groupPurchaseId (group_purchase_id) — INT — Foreign key → GroupPurchase.groupPurchaseId
- goodsId (goods_id2) — INT — Foreign key → Goods.goodsId
- type — ENUM — NOT NULL — 결제 종류
- status — ENUM — NOT NULL — 결제 상태
- price — INT — NOT NULL — 결제 금액
- shippingAddress (shipping_address) — VARCHAR(255) — 배송지
- shippingPhone (shipping_phone) — VARCHAR(100) — 휴대폰 번호
- shippingName (shipping_name) — VARCHAR(100) — 이름
- shippingMemo (shipping_memo) — TEXT — 참고 사항
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
Store (TB_STORE)
- storeId (store_id) — INT — Primary key — NOT NULL
- name — VARCHAR(100) — NOT NULL — 이름
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
StoreGoods (TB_STORE_GOODS)
- storeGoodsId (store_goods_id) — INT — Primary key — NOT NULL
- storeId (store_id) — INT — Foreign key → Store.storeId — NOT NULL
- name — VARCHAR(100) — NOT NULL — 이름
- viewCount (view_count) — INT — NOT NULL — 조회수
- image — VARCHAR(255) — NOT NULL — 이미지
- price — INT — NOT NULL — 금액
- link — TEXT — 링크
- isDeleted (is_deleted) — TINYINT(1) — NOT NULL — 삭제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
Subscriber (TB_SUBSCRIBER)
- subscriberId (subscriber_id) — INT — Primary key — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- billingDay (billing_day) — INT — NOT NULL — 결제일
- planId (plan_id) — INT — NOT NULL — 플랜 ID
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
SubscriptionBatch (TB_SUBSCRIPTION_BATCH)
- subscriptionBatchId (subscription_batch_id) — INT — Primary key — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- excuteDate (execute_date) — DATE — NOT NULL — 결제 날짜
- isExecuted (is_executed) — TINYINT(1) — NOT NULL — 결제 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
User (TB_USER)
- userId (user_id) — INT — Primary key — NOT NULL
- fandomId (fandom_id) — INT — Foreign key → Fandom.fandomId — NOT NULL
- email — VARCHAR(255) — NOT NULL — 이메일
- cid — VARCHAR(100) — NOT NULL — CID
- profile — VARCHAR(255) — NOT NULL — 프로필 이미지
- nickname — VARCHAR(100) — NOT NULL — 닉네임
- level — INT — NOT NULL — 레벨
- exp — INT — NOT NULL — 경험치
- coinCount (coin_count) — INT — NOT NULL — 코인 개수
- termsOfServiceAgreed (terms_of_service_agreed) — TINYINT(1) — NOT NULL — 이용약관 동의 여부
- isShowStatus (is_show_status) — TINYINT(1) — NOT NULL — 스테이터스창 노출 여부
- privacyPolicyAgreed (privacy_policy_agreed) — TINYINT(1) — NOT NULL — 개인정보처리방침 동의 여부
- nameCard (name_card) — VARCHAR(255) — 네임카드 이미지
- lastAttendanceDate (last_attendance_date) — DATETIME — 마지막 출석체크 날짜
- attendanceCount (attendance_count) — INT — NOT NULL — 출석 카운트
- storeAgreed (store_agreed) — TINYINT(1) — NOT NULL — 상점 주의사항 체크 여부
- pushYn (push_yn) — TINYINT(1) — NOT NULL — 푸시 여부
- chatPushYn (chat_push_yn) — TINYINT(1) — NOT NULL — 채팅 푸시 여부
- marketPushYn (market_push_yn) — TINYINT(1) — NOT NULL — 마케팅 푸시 알림 여부
- status — ENUM — NOT NULL — 상태
- isLead (is_lead) — TINYINT(1) — NOT NULL — 팬덤장 여부
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
UserAttendance (TB_USER_ATTENDANCE)
- userAttendanceId (user_attendance_id) — INT — Primary key — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- count — INT — NOT NULL — 카운트
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
UserCoupon (TB_USER_COUPON)
- couponId (coupon_id) — INT — Primary key — NOT NULL
- couponId (coupon_id2) — INT — Foreign key → Coupon.couponId — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- storeId (store_id) — INT — Foreign key → Coupon.storeId — NOT NULL
- status — ENUM — NOT NULL — 쿠폰 종류
- useDate (use_date) — DATETIME — NOT NULL — 사용 시간
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간
- deletedDate (deleted_date) — DATETIME — NOT NULL — 삭제 시간
UserMedal (TB_USER_MEDAL)
- userMedalId (user_medal_id) — INT — Primary key — NOT NULL
- userId (user_id) — INT — Foreign key → User.userId — NOT NULL
- medalId (medal_id) — INT — Foreign key → Medal.medalId — NOT NULL
- orderId (order_id) — INT — 정렬 순서
- createdDate (created_date) — DATETIME — NOT NULL — 생성 시간
- modifiedDate (modified_date) — DATETIME — NOT NULL — 수정 시간