UserSignInResult.cs 734 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. namespace GxPress.Result.User
  3. {
  4. /// <summary>
  5. /// 用户登录结果
  6. /// </summary>
  7. public class UserSignInResult
  8. {
  9. /// <summary>
  10. /// 用户id
  11. /// </summary>
  12. public int UserId { get; set; }
  13. /// <summary>
  14. /// 部门Id
  15. /// </summary>
  16. public int DepartmentId { get; set; }
  17. /// <summary>
  18. /// token
  19. /// </summary>
  20. public TokenResult Token { get; set; }
  21. public UserResult User { get; set; }
  22. public Entity.User UserEntity { get; set; }
  23. /// <summary>
  24. /// 是否新增用户
  25. /// </summary>
  26. /// <value></value>
  27. public bool IsAddUser { get; set; }
  28. }
  29. }