ClientDto.cs 618 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MqttMsgServer.HttpService.dto
  7. {
  8. public class ClientDto
  9. {
  10. public string ClientName { get; set; }
  11. public string Password
  12. {
  13. //get => _password;
  14. //set => _password = StringHelper.GenerateMD5(value);
  15. get;
  16. set;
  17. }
  18. public string SystemDesc { get; set; }
  19. public string Id { get; set; }
  20. public int ClientState { get; set; } = 1;
  21. public int Hours { get; set; } = 24;
  22. }
  23. }