You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 rivejä
565 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Models.Identity
  7. {
  8. public class AccountModel : ResponseModel
  9. {
  10. public string Mobile { get; set; }
  11. public string Name { get; set; }
  12. public override string ToString()
  13. {
  14. return $"{Name} {Mobile}";
  15. }
  16. }
  17. public class CheckLoginResponse : AccountModel
  18. {
  19. public bool HasName => !string.IsNullOrEmpty(Name);
  20. public bool IsDeveloper { get; set; }
  21. }
  22. }