initial adding of song_model.rs
This commit is contained in:
parent
9d05a7e655
commit
2311af3b46
3 changed files with 445 additions and 5 deletions
|
@ -24,3 +24,20 @@ pub struct Presentation {
|
|||
pub path: String,
|
||||
pub page_count: Option<i32>,
|
||||
}
|
||||
|
||||
#[derive(Queryable)]
|
||||
pub struct Song {
|
||||
pub id: i32,
|
||||
pub title: String,
|
||||
pub lyrics: Option<String>,
|
||||
pub author: Option<String>,
|
||||
pub ccli: Option<String>,
|
||||
pub audio: Option<String>,
|
||||
pub verse_order: Option<String>,
|
||||
pub background: Option<String>,
|
||||
pub background_type: Option<String>,
|
||||
pub horizontal_text_alignment: Option<String>,
|
||||
pub vertical_text_alignment: Option<String>,
|
||||
pub font: Option<String>,
|
||||
pub font_size: Option<i32>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue