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;

@Table("front_end")
@Data
public class FrontEnd extends GenericEntity {

    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @Column("uuid")
    private String uuid;
    @Column("slb_id")
    private Long slbId;
    @Column("public_ip_id")
    private Long publicIpId;
    @Column("vendor_id")
    private Long vendorId;
    @Column("subnet_id")
    private Long subnetId;
    @Column("front_end_type")
    private String frontEndType;//INTERNAL(内部),EXTERNAL(外部)
    @Column("private_ip_address")
    private String privateIpAddress;
    @IgnoreAll
    private String publicIpAddress;
    @IgnoreAll
    private String publicIpName;
    @IgnoreAll
    private Long vpcId;


}
