package cn.reghao.tnb.file.app.model.po;

import cn.reghao.jutil.jdk.db.BaseObject;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author reghao
 * @date 2024-09-09 11:19:37
 */
@NoArgsConstructor
@Setter
@Getter
public class StoreConfig extends BaseObject<Integer> {
    private Integer ossType;
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String region;
    private String bucketName;
    private String roleArn;

    public StoreConfig(int ossType, String endpoint, String accessKeyId, String accessKeySecret) {
        this.ossType = ossType;
        this.endpoint = endpoint;
        this.accessKeyId = accessKeyId;
        this.accessKeySecret = accessKeySecret;
    }
}
