working pages

This commit is contained in:
2025-12-29 21:38:19 -05:00
parent 56ebb8eba2
commit 57b48890ff
3 changed files with 13 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ pub struct Listing {
pub phone: Option<String>,
pub online_ordering: String,
pub county_id: i32,
pub town: Option<String>,
pub user_id: i32,
pub last_edited: DateTime<Utc>,
}
@@ -34,6 +35,7 @@ pub struct CreateListingRequest {
pub phone: Option<String>,
pub online_ordering: String,
pub county_id: i32,
pub town: Option<String>,
}
#[derive(Debug, Serialize, Deserialize)]
@@ -49,4 +51,5 @@ pub struct UpdateListingRequest {
pub phone: Option<String>,
pub online_ordering: Option<String>,
pub county_id: Option<i32>,
pub town: Option<String>,
}