RegClientDto.cs 678 B

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