adding basic presentation_model.rs

This commit is contained in:
Chris Cochrun 2023-04-06 20:44:04 -05:00
parent a71ead411f
commit 4f58d6e1fd
5 changed files with 337 additions and 2 deletions

View file

@ -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>,
}