API
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }