package com.bocloud.ims.entity.resource.f5;

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;

/**
 * f5 profile
 * 
 * @author liuyuanyuan
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table("bi_profile")
public class BiProfile extends GenericEntity {
    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    // 代理模式
    @Column("proxy_mode")
    private String proxyMode;
    @Column("parent_profile_id")
    private Long parentProfileId;
    // 云平台id
    @Column("vendor_id")
    private Long vendorId;
    @Column("is_reserved")
    private Boolean reserved;
    @Column("category")
    private String category;
    @Column("configuration")
    private String configuration;
    @Column("partition_id")
    private Long partitionId;
    @IgnoreAll
    private String parentProfileName;
    @IgnoreAll
    private String ruleName;
    @IgnoreAll
    private Long dnsResolverId;
    @IgnoreAll
    private String dnsResolverName;
    @IgnoreAll
    private String prefixLength;
    @IgnoreAll
    private String prefixLengthType;
    @IgnoreAll
    private Long prefixLengthValue;
    @IgnoreAll
    private String partitionName;
    @IgnoreAll
    private String insertXforwardedFor;

}
