Finish Task #2153 Cost:24h
parent
0c0d43cd96
commit
3dda15e00a
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean.template;
|
||||
|
||||
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 javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/6/17 8:39 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_DEFECT")
|
||||
@Api("MES_工位缺陷")
|
||||
public class MesWorkCellDefect extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -528051790747923632L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name = "PART_ASSEMBLE")
|
||||
@ApiParam("物料集")
|
||||
private String partAssemble;
|
||||
|
||||
@Transient
|
||||
@ApiParam("缺陷名称")
|
||||
private String defectCodeName;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.template.MesWorkCellDefect;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/6/17 8:46 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesWorkCellDefectRepository extends BaseRepository<MesWorkCellDefect, Long> {
|
||||
}
|
Loading…
Reference in New Issue