API
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

StatusDto.cs 553B

12345678910111213141516171819202122232425
  1. namespace UnivateProperties_API.Containers.Timeshare
  2. {
  3. public class StatusDto
  4. {
  5. public StatusDto()
  6. {
  7. }
  8. public StatusDto(int id, string code, string description)
  9. {
  10. Id = id;
  11. Code = code;
  12. Description = description;
  13. }
  14. public int Id { get; set; }
  15. public string Code { get; set; }
  16. public string Description { get; set; }
  17. public override string ToString()
  18. {
  19. return $"{Code} - {Description}";
  20. }
  21. }
  22. }