-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b235a5
commit a554998
Showing
3 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using SubitonAPI.Helpers; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace SubitonAPI.DTO | ||
{ | ||
|
||
/// <summary> | ||
/// DTO to get data from front-end | ||
/// </summary> | ||
public class UserUpdateDTO | ||
{ | ||
public int Id { get; set; } | ||
public AnimalType AnimalType { get; set; } | ||
public string Name { get; set; } | ||
public int Age { get; set; } | ||
public string Gender { get; set; } | ||
public DateTime DateOfBirth { get; set; } | ||
public string Rasa { get; set; } | ||
public DateTime Created { get; set; } | ||
public DateTime LastActive { get; set; } | ||
public string City { get; set; } | ||
public string Country { get; set; } | ||
public string PhotoUrl { get; set; } | ||
public string Height { get; set; } | ||
public string FurColor { get; set; } | ||
public string Weight { get; set; } | ||
public string Nature { get; set; } | ||
public string MartialStatus { get; set; } | ||
|
||
//description | ||
public string Description { get; set; } | ||
public string LookingFor { get; set; } | ||
|
||
// Upodobania | ||
public string Interests { get; set; } | ||
public string FreeTimeActivities { get; set; } | ||
public string Education { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters