1
Tables (11)
AnimeCommentEntity (アニメコメント)
- id (Key) — int — Primary key — NOT NULL
- user_id (ユーザー) — int — Foreign key → userEntity.username — NOT NULL
- anime_id (アニメ) — int — Foreign key → AnimeEntity.id — NOT NULL
- content (内容) — string
- createTime (作成時間) — LocalDateTime
- updateTime (編集時間) — LocalDateTime
AnimeCommentLikeEntity (アニメいいね)
- id (Key) — int — Primary key — NOT NULL
- comment_id (コメント) — int — Foreign key → AnimeCommentEntity.id — NOT NULL
- user_id (ユーザー) — int — Foreign key → AnimeEntity.id — NOT NULL
AnimeEntity (アニメ)
- id (Key) — int — Primary key — NOT NULL
- title (タイトル) — string
- synopsis (あらすじ) — text
- imgLink (画像URL) — string
- trailer (ユーチューブURL) — string
- score (アニメ評価) — float
- aired (放送日) — string
- studios (スタジオ) — string array
- genres (ジャンル) — string array
- status (放送状態) — string
CommentEntity (投稿コメント)
- id (Key) — int — Primary key — NOT NULL
- user_id (ユーザー) — int — Foreign key → userEntity.username — NOT NULL
- post_id (投稿) — int — Foreign key → PostEntity.id — NOT NULL
- content (内容) — string
- createTime (作成時間) — LocalDateTime
- updateTime (編集時間) — LocalDateTime
CommentLikeEntity (コメントいいね)
- id (Key) — int — Primary key — NOT NULL
- user_id (ユーザー) — int — Foreign key → userEntity.username — NOT NULL
- comment_id (コメント) — int — Foreign key → CommentEntity.id — NOT NULL
PostEntity (投稿)
- id (Key) — int — Primary key — NOT NULL
- user_id (ユーザーKey) — string — Foreign key → userEntity.username — NOT NULL
- anime_id (アニメKey) — int — Foreign key → AnimeEntity.id
- title (タイトル) — string
- content (内容) — text
- createTime (生成時間) — DateTime
- updateTime (編集時間) — DateTime
PostLikeEntity (投稿いいね)
- id (Key) — int — Primary key — NOT NULL
- post_id (投稿) — int — Foreign key → PostEntity.id — NOT NULL
- user_id (ユーザー) — int — Foreign key → userEntity.username — NOT NULL
RefreshTokenEntity (リフレッシュトークン)
- username (ユーザーID) — string — Foreign key → userEntity.username — NOT NULL
- refreshToken (リフレッシュトークン) — string
UserBookmarkEntity (ブックマークアニメ)
- id (Key) — int — Primary key — NOT NULL
- user_id (ユーザーKey) — int — Foreign key → userEntity.id — NOT NULL
- anime_id (アニメKey) — int — Foreign key → AnimeEntity.id — NOT NULL
followEntity (フォロー)
- id (Key) — int — Primary key — NOT NULL
- following (フォロー中) — int — Foreign key → userEntity.username — NOT NULL
- follower (フォロワー) — int — Foreign key → userEntity.username — NOT NULL
userEntity (ユーザー)
- id (Key) — int — Primary key — NOT NULL
- username (ユーザーID) — string — Primary key — NOT NULL
- password (パスワード) — string
- nickname (ニックネーム) — string
- email (メール) — string
- userImg (ユーザー画像) — string