package com.zhongshu.card.server.core.model.upLoadFile.oss;

import com.zhongshu.card.server.core.model.upLoadFile.ObjectStorageType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TencentObjectStorage extends SuperObjectStorage {

    //https://console.cloud.tencent.com/cam/capi secretId & secretKey
    private String secretId;

    private String secretKey;

    //存储桶的名称 , dev-1251834475
    private String bucket;

    //区域 , ap-chengdu
    private String region;


    @Override
    public ObjectStorageType storageType() {
        return ObjectStorageType.Tencent;
    }
}
