11 lines
247 B
Rust
11 lines
247 B
Rust
use chrono::NaiveDateTime;
|
|
use serde::Serialize;
|
|
|
|
#[derive(Debug, Serialize, sqlx::FromRow, utoipa::ToSchema)]
|
|
pub struct Company {
|
|
pub id: i32,
|
|
pub name: String,
|
|
pub date_created: NaiveDateTime,
|
|
pub date_updated: NaiveDateTime,
|
|
}
|