adding basic presentation_model.rs
This commit is contained in:
parent
a71ead411f
commit
4f58d6e1fd
5 changed files with 337 additions and 2 deletions
|
@ -16,3 +16,11 @@ pub struct Video {
|
|||
pub end_time: Option<f32>,
|
||||
pub looping: bool,
|
||||
}
|
||||
|
||||
#[derive(Queryable)]
|
||||
pub struct Presentation {
|
||||
pub id: i32,
|
||||
pub title: String,
|
||||
pub path: String,
|
||||
pub page_count: Option<i32>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue