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

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.bean.GenericEntity;
import com.bocloud.entity.meta.PKStrategy;
import com.bocloud.ims.entity.resource.NetworkInterface;
import com.bocloud.ims.entity.resource.Vpc;
import lombok.Data;

import java.util.List;

/**
 * @Company: 博云 www.bocloud.com
 * @ClassName: DdosProtectionPlan
 * @Description:
 * @author: zhenpingLi/李振平
 * @date: 2021/3/4 14:09
 */
@Table("ddos_protection_plan")
@Data
public class DdosProtectionPlan extends GenericEntity {
    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @Column("ddos_uuid")
    private String ddosUuid;
    @Column("vendor_id")
    private Long vendorId; // 平台id
    @Column("tenant_id")
    private Long tenantId;
    @Column("project_id")
    private Long projectId;
    @Column("user_id")
    private Long userId;
    @Column("type")
    private String type;
    @Column("region_id")
    private String regionId;
    @Column("resource_group_id")
    private Long resourceGroupId;
    @Column("resource_guid")
    private String resourceGuid;
    @Column("plan_key")
    private String planKey;
    @Column("tags")
    private String tags;
    @Column("etag")
    private String etag;
    @Column("virtual_network_ids")
    private String virtualNetworkIds;
    @Column("locked")
    private Boolean locked;
    @IgnoreAll
    private String regionName;
    @IgnoreAll
    private String resourceGroupName;
    @IgnoreAll
    private String tenantName;
    @IgnoreAll
    private String projectName;
    @IgnoreAll
    private List<String> virtualNetworkNames;
    @IgnoreAll
    private List<String> vpcUuids;
    @IgnoreAll
    private List<Vpc> vpcs;
    @IgnoreAll
    private List<NetworkInterface> networkCards;
}