package cn.reghao.devops.mgr.aliyun.model.po;

import cn.reghao.devops.mgr.util.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.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;
}
