package com.xydl.cac.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "rptparamindex")
@ApiModel("绑定关系表")
public class Rptparamindex {

    @Id
    @ApiModelProperty("61850对象参引")
    @Column(name = "paramindex")
    private String paramindex;

    @ApiModelProperty("61850对象id")
    @Column(name = "objid")
    private Integer objid;

    @ApiModelProperty("监测设备id")
    @Column(name = "eqmid")
    private Integer eqmid;

    @Column(name = "tablename")
    private String tablename;

    @Column(name = "colname")
    private String colname;

    @Column(name = "phase")
    private String phase;

}