//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2 use sea_orm::entity::prelude::*; use serde::{Deserialize, Serialize}; #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, Serialize, Deserialize)] #[sea_orm(table_name = "time_entry")] pub struct Model { #[sea_orm(primary_key)] pub id: i32, pub toggl_id: i64, pub description: String, pub project_id: Option, pub start: DateTimeWithTimeZone, pub stop: DateTimeWithTimeZone, #[sea_orm(column_type = "JsonBinary")] pub raw_json: Json, } #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] pub enum Relation {} impl ActiveModelBehavior for ActiveModel {}