LinkedApiKey.cs 1.5 KB

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