package com.bocloud.ims.entity.resource;

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.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Table("internet_gateway")
public class InternetGateway extends GenericEntity {

	@PK(value = PKStrategy.AUTO)
	private Long id;
	@Column("internet_gateway_uuid")
	private String internetGatewayUuid;
	@Column("vpc_id")
	private String vpcId;
	@Column("vendor_id")
	private Long vendorId;
	@Column("region_id")
	private String regionId;// 所属域
	@Column("tenant_id")
	private Long tenantId;// 租户ID
	@Column("project_id")
	private Long projectId;
	@IgnoreAll
	private String regionName;

}