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

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 lombok.Data;

import java.util.List;

@Table("slb")
@Data
public class Slb extends GenericEntity {

    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @Column("uuid")
    private String uuid;
    @Column("sku")
    private String sku;
    @Column("region_id")
    private String regionId;
    @Column("resource_group_Id")
    private Long resourceGroupId;
    @Column("vendor_id")
    private Long vendorId;
    @Column("tenant_id")
    private Long tenantId;
    @Column("project_id")
    private Long projectId;// 项目ID
    @Column("user_id")
    private Long userId;
    @Column("locked")
    private Boolean locked;
    @Column("slb_type")
    private String slbType;//INTERNAL(内部),EXTERNAL(外部)
    @Column("tags")
    private String tags;
    @IgnoreAll
    private String resourceGroupUuid;
    @IgnoreAll
    private List<Long> publicIPAddressIds;
    @IgnoreAll
    private List<InboundNatPool> inboundNatPools;// 入站网络池 页面不可见，但接口必须传递
    @IgnoreAll
    private String resourceGroupName;
    @IgnoreAll
    private String regionName;
    @IgnoreAll
    private String tenantName;
    @IgnoreAll
    private String projectName;
    @IgnoreAll
    private Long vpcId;
    @IgnoreAll
    private Long subnetId;

}
