IssueCloudConfig.java 953 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.usky.issue.domain;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import lombok.Data;
  5. import lombok.EqualsAndHashCode;
  6. import java.time.LocalDateTime;
  7. /**
  8. * 云平台配置
  9. *
  10. * @author fyc
  11. * @date 2026-05-21
  12. */
  13. @Data
  14. @EqualsAndHashCode(callSuper = true)
  15. @TableName("issue_cloud_config")
  16. public class IssueCloudConfig extends CloudAuditEntity {
  17. @TableId(value = "id", type = IdType.AUTO)
  18. private Long id;
  19. /** 云平台地址 */
  20. private String cloudAddress;
  21. /** AES-256-GCM加密后的凭证密钥 */
  22. private String credentialKey;
  23. /** 0禁用 1启用 */
  24. private Integer status;
  25. /** 0未知 1成功 2失败 */
  26. private Integer connectionStatus;
  27. // @Version
  28. private Integer version;
  29. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  30. private LocalDateTime lastTestTime;
  31. @TableField(exist = false)
  32. private String token;
  33. }