Move the equipment into the Jump.
This commit is contained in:
@@ -4,16 +4,21 @@
|
|||||||
{
|
{
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
public string Aad { get; set; }
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
public string Aad { get; set; }
|
||||||
|
|
||||||
public string MainCanopy { get; set; }
|
public string MainCanopy { get; set; }
|
||||||
|
|
||||||
public string Manufacturer { get; set; }
|
public string Manufacturer { get; set; }
|
||||||
|
|
||||||
public int MaxSize { get; set; }
|
public int MaxSize { get; set; }
|
||||||
|
|
||||||
public int MinSize { get; set; }
|
public int MinSize { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
public string ReserveCanopy { get; set; }
|
public string ReserveCanopy { get; set; }
|
||||||
public string Equipment { get; set; }
|
|
||||||
|
|
||||||
public User User { get; set; }
|
public User User { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -6,20 +6,32 @@ namespace skydiveLogs_api.Domain
|
|||||||
{
|
{
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
public Aircraft Aircraft { get; set; }
|
|
||||||
public int DeployAltitude { get; set; }
|
|
||||||
public DropZone DropZone { get; set; }
|
|
||||||
public int ExitAltitude { get; set; }
|
|
||||||
public Gear Gear { get; set; }
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
public Aircraft Aircraft { get; set; }
|
||||||
|
|
||||||
|
public int DeployAltitude { get; set; }
|
||||||
|
|
||||||
|
public DropZone DropZone { get; set; }
|
||||||
|
|
||||||
|
public int ExitAltitude { get; set; }
|
||||||
|
|
||||||
|
public Gear Gear { get; set; }
|
||||||
|
|
||||||
public bool IsSpecial { get; set; }
|
public bool IsSpecial { get; set; }
|
||||||
|
|
||||||
public DateTime JumpDate { get; set; }
|
public DateTime JumpDate { get; set; }
|
||||||
|
|
||||||
public JumpType JumpType { get; set; }
|
public JumpType JumpType { get; set; }
|
||||||
|
|
||||||
public string Notes { get; set; }
|
public string Notes { get; set; }
|
||||||
|
|
||||||
public User User { get; set; }
|
public User User { get; set; }
|
||||||
|
|
||||||
public bool WithCutaway { get; set; }
|
public bool WithCutaway { get; set; }
|
||||||
|
|
||||||
|
public string Equipment { get; set; }
|
||||||
|
|
||||||
#endregion Public Properties
|
#endregion Public Properties
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -52,7 +52,6 @@ namespace skydiveLogs_api.DomainBusiness
|
|||||||
MaxSize = 280,
|
MaxSize = 280,
|
||||||
MinSize = 190,
|
MinSize = 190,
|
||||||
ReserveCanopy = "?",
|
ReserveCanopy = "?",
|
||||||
Equipment = "RAS",
|
|
||||||
User = newUser
|
User = newUser
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ namespace skydiveLogs_api.DomainBusiness
|
|||||||
myJump.IsSpecial = updatedJump.IsSpecial;
|
myJump.IsSpecial = updatedJump.IsSpecial;
|
||||||
myJump.WithCutaway = updatedJump.WithCutaway;
|
myJump.WithCutaway = updatedJump.WithCutaway;
|
||||||
myJump.Notes = updatedJump.Notes;
|
myJump.Notes = updatedJump.Notes;
|
||||||
|
myJump.Equipment = updatedJump.Equipment;
|
||||||
|
|
||||||
_jumpRepository.Update(myJump);
|
_jumpRepository.Update(myJump);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,5 @@
|
|||||||
public string MainCanopy { get; set; }
|
public string MainCanopy { get; set; }
|
||||||
|
|
||||||
public string ReserveCanopy { get; set; }
|
public string ReserveCanopy { get; set; }
|
||||||
|
|
||||||
public string Equipment { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,5 @@
|
|||||||
public string MainCanopy { get; set; }
|
public string MainCanopy { get; set; }
|
||||||
|
|
||||||
public string ReserveCanopy { get; set; }
|
public string ReserveCanopy { get; set; }
|
||||||
|
|
||||||
public string Equipment { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,5 +25,7 @@ namespace skydiveLogs_api.DataContract
|
|||||||
public DateTime JumpDate { get; set; }
|
public DateTime JumpDate { get; set; }
|
||||||
|
|
||||||
public bool IsSpecial { get; set; }
|
public bool IsSpecial { get; set; }
|
||||||
|
|
||||||
|
public string Equipment { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7,18 +7,29 @@ namespace skydiveLogs_api.DataContract
|
|||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
public int AircraftId { get; set; }
|
public int AircraftId { get; set; }
|
||||||
|
|
||||||
public int DeployAltitude { get; set; }
|
public int DeployAltitude { get; set; }
|
||||||
|
|
||||||
public int DropZoneId { get; set; }
|
public int DropZoneId { get; set; }
|
||||||
|
|
||||||
public int ExitAltitude { get; set; }
|
public int ExitAltitude { get; set; }
|
||||||
|
|
||||||
public int GearId { get; set; }
|
public int GearId { get; set; }
|
||||||
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public bool IsSpecial { get; set; }
|
public bool IsSpecial { get; set; }
|
||||||
|
|
||||||
public DateTime JumpDate { get; set; }
|
public DateTime JumpDate { get; set; }
|
||||||
|
|
||||||
public int JumpTypeId { get; set; }
|
public int JumpTypeId { get; set; }
|
||||||
|
|
||||||
public string Notes { get; set; }
|
public string Notes { get; set; }
|
||||||
|
|
||||||
public bool WithCutaway { get; set; }
|
public bool WithCutaway { get; set; }
|
||||||
|
|
||||||
|
public string Equipment { get; set; }
|
||||||
|
|
||||||
#endregion Public Properties
|
#endregion Public Properties
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user