Changed unit bathrooms to decimal
This commit is contained in:
parent
faf73034a0
commit
12a2c0ef8f
@ -17,7 +17,7 @@ pub struct Unit {
|
||||
/// Amount of rooms in unit
|
||||
pub rooms: i16,
|
||||
/// Amount of bathrooms in unit
|
||||
pub bathrooms: i16,
|
||||
pub bathrooms: f32,
|
||||
/// In meters squared
|
||||
pub area: f32,
|
||||
pub description: String,
|
||||
|
@ -16,7 +16,7 @@ pub struct NewUnitPayload {
|
||||
/// Amount of rooms in unit
|
||||
pub rooms: i16,
|
||||
/// Amount of bathrooms in unit
|
||||
pub bathrooms: i16,
|
||||
pub bathrooms: f32,
|
||||
/// In meters squared
|
||||
pub area: f32,
|
||||
pub description: String,
|
||||
@ -35,7 +35,7 @@ pub struct UpdateUnitPayload {
|
||||
/// Amount of rooms in unit
|
||||
pub rooms: Option<i16>,
|
||||
/// Amount of bathrooms in unit
|
||||
pub bathrooms: Option<i16>,
|
||||
pub bathrooms: Option<f32>,
|
||||
/// In meters squared
|
||||
pub area: Option<f32>,
|
||||
pub description: Option<String>,
|
||||
|
Loading…
Reference in New Issue
Block a user