package com.zjty.inspect.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <h4>Description : 原系统架构</h4>
 *
 * @author : CZQ
 * @Date : 2020-03-05 16:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "原系统架构")
public class SystemStructure {


    /**
     * 应用服务器
     */
    @ApiModelProperty(value = "ECS（安装主程序的弹性计算服务器或虚拟机）")
    private Details application = new Details();

    /**
     * 数据库服务器
     */
    @ApiModelProperty(value = "RDS（关系型数据库服务器或虚拟机）")
    private Details database = new Details();
    @ApiModelProperty(value = "NAS（存储或备份一体设备）")
    private Details nas = new Details();

    /**
     * SLB
     */
    @ApiModelProperty(value = "SLB")
    private Details slb = new Details();
    /**
     * cdn
     */
    @ApiModelProperty(value = "cdn")
    private Details cdn = new Details();
    /**
     * V2/P/S（访问代理服务设备）
     */
    @ApiModelProperty(value = "V2/P/S（访问代理服务设备）")
    private Details vps = new Details();

    /**
     * 存储
     */
    @ApiModelProperty(value = "存储")
    private Details storage = new Details();

    /**
     * 其他服务设备
     */
    @ApiModelProperty(value = "其他服务设备")
    private Details otherEquipment = new Details();

    /*
    更多需求
     */

    /**
     * 分布式 int 1：是 2：否
     */
    @ApiModelProperty(value = "分布式 int 1：是 2：否",example = "1")
    private Integer distributed = -1;

    /**
     * 负载均衡 int 1：是 2：否
     */
    @ApiModelProperty(value = "负载均衡 int 1：是 2：否",example = "1")
    private Integer loadBalance = -1;

    /**
     * 容灾
     * 1：无0，有+0.05
     * 2：有0，无-0.05
     * 3：有0，无-0.1
     */
    @ApiModelProperty(value = "权限",example = "1")
    private Integer disaster = -1;

    /**
     * 其他需求
     */
    @ApiModelProperty(value = "其他需求")
    private String otherDemand;
}
