use serde::{Deserialize, Serialize};
use crate::models::{PaginationMeta, Plan};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct GetPlanResponse {
pub plan: Plan,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CreatePlanResponse {
pub plan: Plan,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct UpdatePlanResponse {
pub plan: Plan,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DeletePlanResponse {
pub plan: Plan,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ListPlansResponse {
pub plans: Vec<Plan>,
pub meta: PaginationMeta,
}