15 lines
359 B
Rust
15 lines
359 B
Rust
use serde::{Deserialize, Serialize};
|
|
use sqlx::FromRow;
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize, FromRow)]
|
|
pub struct ServiceAccount {
|
|
pub slug: Option<String>,
|
|
pub id: String,
|
|
pub tenant_id: String,
|
|
pub name: String,
|
|
pub description: Option<String>,
|
|
pub enabled: bool,
|
|
pub created_at: String,
|
|
pub updated_at: String,
|
|
}
|