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;
import java.io.Serializable;

/**
 * @Description:
 * @Author: jokelin
 * @Date: 2020/4/20 5:16 下午
 * @Modify:
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PART_FURNACE")
@Api("MES_物料上炉模式")
public class MesPartFurnace extends BaseBean implements Serializable {

    private static final long serialVersionUID = 3681747818263404111L;

    @Column(name = "MODEL_NO")
    @ApiParam("模式编号")
    private String modelNo;

    @Column(name = "PART_NO")
    @ApiParam("物料编码")
    private String partNo;
}
