Skip to content

Commit

Permalink
refactor: Improve data structure in Property struct
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal18713 committed Mar 15, 2024
1 parent 984dbc0 commit 714e42f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions contracts/Contract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ contract Contract {
seller = _seller;
}
struct adds{
string memory city;
string memory country;
string memory addline;
string city;
string country;
string addline;
}
struct Property {
string memory name;
string memory email;
string memory phoneno;
string name;
string email;
string phoneno;
adds adds;
string memory proptype;
string memory amenities;
string proptype;
string amenities;
uint256 sqfoot;
uint256 bedno;
string memory img;
string memory descp;
string img;
string descp;
}


Expand Down

0 comments on commit 714e42f

Please sign in to comment.