From 749fbe069bd91fbc168308ca24a7ea5f238d1827 Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Tue, 14 Jan 2025 02:13:36 +0300 Subject: [PATCH] init(models): add alias and kiroku models --- internal/models/models.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/internal/models/models.go b/internal/models/models.go index e28c166..a03228e 100644 --- a/internal/models/models.go +++ b/internal/models/models.go @@ -39,3 +39,15 @@ type Track struct { Credits []Credit `json:"credits"` Notes sql.NullString `json:"notes"` } + +type Alias struct { + ID string `json:"id"` + Track Track `json:"track"` + Name string `json:"name"` + Artist string `json:"artist"` +} + +type Kiroku struct { + Alias Alias `json:"alias"` + Datetime time.Time `json:"datetime"` +}