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:
 * @Reference:
 * @Author: joke.wang
 * @CreateDate: 2019\10\16 14:22
 * @Modify:
 **/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_TYPE_CFG")
@Api("类型信息表")
public class MesTypeCfg extends BaseBean implements Serializable {
    private static final long serialVersionUID = 7666533200631763797L;

    @Column(name = "TYPE_CODE")
    @ApiParam("类型代码")
    private String typeCode;

    @Column(name = "TYPE_NAME")
    @ApiParam("类型名称")
    private String typeName;

    @Column(name = "BUSINESS_TYPE_CODE")
    @ApiParam("业务类型代码")
    private String businessTypeCode;

    @Column(name = "BUSINESS_TYPE_NAME")
    @ApiParam("业务类型名称")
    private String businessTypeName;

    @Column(name = "COLOR_VALUE")
    @ApiParam("颜色值")
    private String colorValue;

    @Column(name = "SEQ")
    @ApiParam("顺序")
    private Integer seq;

    @Column(name = "DEFECT_ACTION_TYPE")
    @ApiParam("不良处理类型")
    private String defectActionType;
}
