Polevoy_SUBD/backend/src/models/car_station.rs

12 lines
258 B
Rust
Raw Normal View History

use serde::{Serialize, Deserialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CarStation {
pub id: i32,
pub address: String
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct BindingCarStation {
pub address: String
}