package com.bocloud.ims.entity.resource.azure.db;

import com.bocloud.entity.annotations.Column;
import com.bocloud.entity.annotations.IgnoreAll;
import com.bocloud.entity.annotations.PK;
import com.bocloud.entity.annotations.Table;
import com.bocloud.entity.meta.PKStrategy;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Company: 博云 www.bocloud.com
 * @ClassName: AzurePerformanceTier
 * @Description:
 * @author: zhenpingLi/李振平
 * @date: 2020/12/22 14:22
 */
@Getter
@Setter
@Table("performance_tier")
public class PerformanceTier {

    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @Column("uuid")
    private String uuid;
    @Column("vendor_id")
    private Long vendorId; // // 平台ID
    @Column("region_id")
    private String regionId;
    @Column("max_backup_retention_days")
    private Integer maxBackupRetentionDays;//性能层版本的最大备份保留天数
    @Column("max_large_storage_mb")
    private Integer maxLargeStorageMB;//服务器允许的最大存储空间。
    @Column("max_storage_mb")
    private Integer maxStorageMB;//服务器允许的最大存储空间。
    @Column("min_backup_retention_days")
    private Integer minBackupRetentionDays;//性能层版本的最小备份保留天数
    @Column("min_large_storage_mb")
    private Integer minLargeStorageMB;//服务器允许的最大存储空间。
    @Column("min_storage_mb")
    private Integer minStorageMB;//服务器允许的最大存储空间。
    @Column("db_type")
    private String dbType;
    @IgnoreAll
    private List<ServiceLevelObjective> serviceLevelObjectives;
    @IgnoreAll
    private String regionName;
    @IgnoreAll
    private String vendorName;

}