Update the datacontract of the gear
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace skydiveLogs_api.Model
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace skydiveLogs_api.Model
|
|
||||||
{
|
{
|
||||||
public class Gear
|
public class Gear
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,21 @@
|
|||||||
using System;
|
namespace skydiveLogs_api.DataContract
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace skydiveLogs_api.DataContract
|
|
||||||
{
|
{
|
||||||
public class GearReq
|
public class GearReq
|
||||||
{
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
public string Manufacturer { get; set; }
|
||||||
|
|
||||||
|
public int MinSize { get; set; }
|
||||||
|
|
||||||
|
public int MaxSize { get; set; }
|
||||||
|
|
||||||
|
public string Aad { get; set; }
|
||||||
|
|
||||||
|
public string MainCanopy { get; set; }
|
||||||
|
|
||||||
|
public string ReserveCanopy { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,17 @@
|
|||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
public string Manufacturer { get; set; }
|
||||||
|
|
||||||
|
public int MinSize { get; set; }
|
||||||
|
|
||||||
|
public int MaxSize { get; set; }
|
||||||
|
|
||||||
|
public string Aad { get; set; }
|
||||||
|
|
||||||
|
public string MainCanopy { get; set; }
|
||||||
|
|
||||||
|
public string ReserveCanopy { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user