added defaults to robot request fields
This commit is contained in:
1 parent
8c399ab576
commit
57c5f9f815
1 file changed
+7
@@ -6,6 +6,13 @@ using RobotsWantedLeague.Services;
|
|||||||
namespace RobotsWantedLeague.Controllers;
|
namespace RobotsWantedLeague.Controllers;
|
||||||
|
|
||||||
public class RobotRequest{
|
public class RobotRequest{
|
||||||
|
public RobotRequest(){
|
||||||
|
this.Name = "";
|
||||||
|
this.Country = "";
|
||||||
|
this.Height = 0;
|
||||||
|
this.Weight = 0;
|
||||||
|
}
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public int Height { get; set; }
|
public int Height { get; set; }
|
||||||
public int Weight { get; set; }
|
public int Weight { get; set; }
|
||||||
|
|||||||
Reference in new issue
Block a user