package com.bocloud.ims.entity.resource;

import com.bocloud.entity.annotations.Column;
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;

@Data
@Table("sangfor_bridge_info")
public class SangforBridgeInfo extends GenericEntity {
    @PK(value = PKStrategy.AUTO)
    private Long id;
    @Column("vendor_id")
    private Long vendorId; // 云供应商Id
    @Column("network_id")
    private Long networkId;
    @Column("network_uuid")
    private String networkUuid;

    @Column("address")
    private String address;
    @Column("hostid")
    private String hostid;
    @Column("hostname")
    private String hostname;
    @Column("hoststatus")
    private Integer hoststatus;
    @Column("uuid")
    private String uuid;
    @Column("assemble_uuid")
    private String assembleUuid;
    @Column("in_bps")
    private Integer inBps;
    @Column("in_pps")
    private Integer inPps;
    @Column("local_vlink_name")
    private String localVlinkName;
    @Column("out_bps")
    private Integer outBps;
    @Column("out_pps")
    private Integer outPps;
    @Column("type")
    private String type;   // “phy-if”表示单网口“channel-if”表示聚合网口
    @Column("up")
    private Boolean up;   // “phy-if”表示单网口“channel-if”表示聚合网口
    @Column("prot_uuid")
    private String portUuid;
    @Column("vlan_id")
    private String vlanId;

}
