選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

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