First working POC
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//! Database model structs
|
||||
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// Playlist item entry
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct PlaylistItem {
|
||||
pub id: Option<i64>,
|
||||
pub playlist_id: String,
|
||||
pub item_id: String,
|
||||
pub sort_order: i32,
|
||||
pub added_at: Option<DateTime<Utc>>,
|
||||
}
|
||||
Reference in New Issue
Block a user