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

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

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

    @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("edition")
    private String edition;//性能层的版本。
    @Column("hardware_generation")
    private String hardwareGeneration;//与服务级别目标关联的硬件生成
    @Column("max_backup_retention_days")
    private Integer maxBackupRetentionDays;//性能层版本的最大备份保留天数
    @Column("max_storage_mb")
    private Integer maxStorageMB;//服务器允许的最大存储空间。
    @Column("min_backup_retention_days")
    private Integer minBackupRetentionDays;//性能层版本的最小备份保留天数
    @Column("min_storage_mb")
    private Integer minStorageMB;//服务器允许的最大存储空间。
    @Column("v_core")
    private Integer vCore;//与服务级别目标关联的 vCore
    @Column("performance_tier_id")
    private Long performanceTierId;//性能层Uuid
    @Column("db_type")
    private String dbType;

}