started implementation of web db access. can only create new turrets and view current turrets
This commit is contained in:
parent
21ad7f208a
commit
24a4aa7a20
7 changed files with 227 additions and 2 deletions
|
@ -4,8 +4,11 @@ namespace ZenithInfo.Models
|
|||
{
|
||||
public class Turret
|
||||
{
|
||||
public required string Name { get; set; }
|
||||
public required string Description { get; set; }
|
||||
// required by EF Core. see https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/movie-database-app/part-2?view=aspnetcore-9.0&pivots=vs#add-a-data-model
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public double Damage { get; set; }
|
||||
public double Reload { get; set; }
|
||||
public double Range { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue