Files
Prog-Samoilov/works/Api/lab-02/lab-02/Models/Pokemon.cs
T

8 lines
206 B
C#

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);