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 PlatformStoreObjectStorage extends SuperObjectStorage {

    //应用
    private String ak;

    //密码
    private String sk;

    //存储桶
    private String bucket;

    //端的地址和端口
    private String endpoint;

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