working pages
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user