diff --git a/cat_cafe/Dto/CatDto.cs b/cat_cafe/Dto/CatDto.cs new file mode 100644 index 0000000..78eccf2 --- /dev/null +++ b/cat_cafe/Dto/CatDto.cs @@ -0,0 +1,10 @@ +using System; +namespace cat_cafe.Dto +{ + public class CatDto + { + public long Id { get; set; } + public string? Name { get; set; } + public int Age { get; set; } = 0; + } +} diff --git a/cat_cafe/Entities/Cat.cs b/cat_cafe/Entities/Cat.cs index 0068971..25999eb 100644 --- a/cat_cafe/Entities/Cat.cs +++ b/cat_cafe/Entities/Cat.cs @@ -6,6 +6,6 @@ public string? Name { get; set; } public int Age { get; set; } = 0; - + public string Meow() { return "meow"; } } } diff --git a/cat_cafe/Mappers/CatMapper.cs b/cat_cafe/Mappers/CatMapper.cs new file mode 100644 index 0000000..6662783 --- /dev/null +++ b/cat_cafe/Mappers/CatMapper.cs @@ -0,0 +1,7 @@ +namespace cat_cafe.Mappers +{ + public class CatMapper + { + + } +} diff --git a/cat_cafe/Services/CatsService.cs b/cat_cafe/Services/CatsService.cs new file mode 100644 index 0000000..8516d8f --- /dev/null +++ b/cat_cafe/Services/CatsService.cs @@ -0,0 +1,6 @@ +namespace cat_cafe.Services +{ + public class CatsService + { + } +} diff --git a/cat_cafe/cat_cafe.csproj b/cat_cafe/cat_cafe.csproj index d01b369..90b4d9f 100644 --- a/cat_cafe/cat_cafe.csproj +++ b/cat_cafe/cat_cafe.csproj @@ -7,6 +7,7 @@ +