removing entities and sea-orm

This commit is contained in:
Chris Cochrun 2023-04-04 14:28:56 -05:00
parent 8430355fdd
commit d308bd33b2
6 changed files with 0 additions and 108 deletions

View file

@ -1,19 +0,0 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.2
use sea_orm::entity::prelude::*;
use sea_orm::EntityTrait;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "images")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub id: i32,
pub title: String,
#[sea_orm(column_name = "filePath")]
pub path: String,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}

View file

@ -1,8 +0,0 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.2
pub mod prelude ;
pub mod images ;
pub mod presentations ;
pub mod songs ;
pub mod videos ;

View file

@ -1,6 +0,0 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.2
pub use super :: images :: Entity as Images ;
pub use super :: presentations :: Entity as Presentations ;
pub use super :: songs :: Entity as Songs ;
pub use super :: videos :: Entity as Videos ;

View file

@ -1,20 +0,0 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.2
use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "presentations")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub id: i32,
pub title: String,
#[sea_orm(column_name = "filePath")]
pub file_path: String,
#[sea_orm(column_name = "pageCount")]
pub page_count: Option<i32>,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}

View file

@ -1,31 +0,0 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.2
use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "songs")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub id: i32,
pub title: String,
pub lyrics: Option<String>,
pub author: Option<String>,
pub ccli: Option<String>,
pub audio: Option<String>,
pub vorder: Option<String>,
pub background: Option<String>,
#[sea_orm(column_name = "backgroundType")]
pub background_type: Option<String>,
#[sea_orm(column_name = "horizontalTextAlignment")]
pub horizontal_text_alignment: Option<String>,
#[sea_orm(column_name = "verticalTextAlignment")]
pub vertical_text_alignment: Option<String>,
pub font: Option<String>,
#[sea_orm(column_name = "fontSize")]
pub font_size: Option<i32>,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}

View file

@ -1,24 +0,0 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.2
use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "videos")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub id: i32,
pub title: String,
#[sea_orm(column_name = "filePath")]
pub file_path: String,
#[sea_orm(column_name = "startTime")]
pub start_time: i32,
#[sea_orm(column_name = "endTime")]
pub end_time: i32,
#[sea_orm(column_name = "loop")]
pub looping: bool,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}