LinkedServer.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System.Diagnostics.Eventing.Reader;
  2. namespace AipDatabase.API.Models
  3. {
  4. public class LinkedServer
  5. {
  6. public Int64 rowNum { get; set; }
  7. public int server_id { get; set; }
  8. public int system_id { get; set; }
  9. public string server_ip { get; set; }
  10. public string server_desc { get; set; }
  11. public string server_created_at { get; set; }
  12. public int api_id { get; set; }
  13. public string api_key { get; set; }
  14. public string expired_at { get; set; }
  15. public bool policy_lookup_yn { get; set; }
  16. public bool file_info_lookup_yn { get; set; }
  17. public bool apply_label_yn { get; set; }
  18. public bool release_label_yn { get; set; }
  19. public bool encryption_file_yn { get; set; }
  20. public bool decryption_file_yn { get; set; }
  21. public LinkedServer(Int64 rowNum, int serverId, int systemId, string serverIpAddr, string serverDesc, string serverCreatedAt, int apiId, string apiKey, string expiredAt,
  22. bool policyLookupYn, bool fileInfoLookupYn, bool applyLabelYn, bool releaseLabelYn, bool encryptionFileYn, bool decryptionFileYn)
  23. {
  24. this.rowNum = rowNum;
  25. this.server_id = serverId;
  26. this.system_id = systemId;
  27. this.server_ip = serverIpAddr;
  28. this.server_desc = serverDesc;
  29. this.server_created_at = serverCreatedAt;
  30. this.api_id = apiId;
  31. this.api_key = apiKey;
  32. this.expired_at = expiredAt;
  33. this.policy_lookup_yn = policyLookupYn;
  34. this.file_info_lookup_yn = fileInfoLookupYn;
  35. this.apply_label_yn = applyLabelYn;
  36. this.release_label_yn = releaseLabelYn;
  37. this.encryption_file_yn = encryptionFileYn;
  38. this.decryption_file_yn = decryptionFileYn;
  39. }
  40. }
  41. }