package cn.reghao.bnt.web.devops.aliyun.model.po;

import cn.reghao.bnt.web.util.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;

/**
 * @author reghao
 * @date 2025-06-06 09:46:18
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@Entity
@Table(name = "devops_aliyun_account")
public class AliyunAccount extends BaseEntity {
    @Column(nullable = false, unique = true)
    private String endpoint;
    @Column(nullable = false)
    private String accessKeyId;
    @Column(nullable = false)
    private String accessKeySecret;
    @Column(nullable = false)
    private String ramUser;
    @Column(nullable = false, unique = true)
    private String type;
    private String bucketName;
    private String region;
    private String roleArn;
}
