generated from admin/template
lab-06
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<RootNamespace>Pokemon_0._1</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace PokedexApi.Models;
|
||||
|
||||
public record Pokemon(int Id, string Name, string Type, int Level);
|
||||
|
||||
public record PokemonInput(string Name, string Type, int Level);
|
||||
|
||||
public record LevelUpdate(int Level);
|
||||
Reference in New Issue
Block a user