added defaults to robot request fields

This commit is contained in:
didier amyot committed 2023-09-18 10:50:24 -04:00
1 parent 8c399ab576
commit 57c5f9f815
1 file changed
+7
@@ -6,6 +6,13 @@ using RobotsWantedLeague.Services;
namespace RobotsWantedLeague.Controllers;
public class RobotRequest{
public RobotRequest(){
this.Name = "";
this.Country = "";
this.Height = 0;
this.Weight = 0;
}
public string Name { get; set; }
public int Height { get; set; }
public int Weight { get; set; }