package cn.estsh.i3plus.pojo.mes.bean;

import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

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

/**
 * @Description:
 * @Reference:
 * @Author: joke.wang
 * @CreateDate: 2019\10\10 0010 11:42
 * @Modify:
 **/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_FAULT_PHENOMENON")
@Api("mes设备故障现象表")
public class MesFaultPhenomenon extends BaseBean {

    @Column(name = "FP_CODE")
    @ApiParam("故障现象代码")
    private String fpCode;

    @Column(name = "FP_NAME")
    @ApiParam("故障现象描述")
    private String fpName;

    @Column(name = "PARENT_FP_CODE")
    @ApiParam("父阶现象代码")
    private String parentFpCode;
}
