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

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;

/**
 * @Company: 博云 www.bocloud.com
 * @ClassName: RouterTable
 * @Description:
 * @author: zhenpingLi/李振平
 * @date: 2021/1/4 15:56
 */
@Table("router_table")
@Data
public class RouterTable extends GenericEntity {

    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @Column("uuid")
    private String uuid;
    @Column("region_id")
    private String regionId;
    @Column("vendor_id")
    private Long vendorId;
    @Column("tenant_id")
    private Long tenantId;
    @Column("project_id")
    private Long projectId;// 项目ID
    @Column("resource_group_Id")
    private Long resourceGroupId;
    @Column("route_propagation")
    private Boolean routePropagation;//传播网关路由
    @Column("user_id")
    private Long userId;
    @Column("tags")
    private String tags;

    @IgnoreAll
    private String regionName;
    @IgnoreAll
    private String resourceGroupName;
    @IgnoreAll
    private String tenantName;
    @IgnoreAll
    private String projectName;

}