Merge pull request 'ext-dev' (#343) from andly.pan/i3plus-pojo:ext-dev into ext-dev
Reviewed-on: http://git.estsh.com/i3-IMPP/i3plus-pojo/pulls/343yun-zuoyi
commit
022ec3243e
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.aps.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.annotation.ClassLevelAnnotation;
|
||||
import cn.estsh.i3plus.pojo.aps.annotation.FieldAnnotation;
|
||||
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.ApsEnumUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description :产线
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2022-03-29 11:26
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Entity
|
||||
@Table(name = "APS_PRODUCT_LINE")
|
||||
@Api("产线信息")
|
||||
@ClassLevelAnnotation(level = 0)
|
||||
public class ProductLine extends BaseAPS {
|
||||
private static final long serialVersionUID = 6900226668783322736L;
|
||||
|
||||
@Column(name="CODE")
|
||||
@ApiParam(value ="编码")
|
||||
@FieldAnnotation(popSearch = true, mainkey = true)
|
||||
private String code;
|
||||
|
||||
@Column(name="NAME")
|
||||
@ApiParam(value ="名称")
|
||||
@FieldAnnotation(popSearch = true)
|
||||
private String name;
|
||||
|
||||
@Column(name="TYPE")
|
||||
@ApiParam(value ="产线类型")
|
||||
private ApsEnumUtil.SANLUX_PRODUCT_TYPE type;
|
||||
|
||||
@Column(name="PRODUCT_QUALITY")
|
||||
@ApiParam(value ="指定品质")
|
||||
private String productQuality;
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cn.estsh.i3plus.pojo.aps.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2022-02-25 11:22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MouldRecord {
|
||||
private Date shifTime;
|
||||
private Map<String,Integer> mouldMap;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.ProductLine;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :产线信息
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2022-04-01 9:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface ProductLineRepository extends CrudRepository<ProductLine,Long> {
|
||||
}
|
Loading…
Reference in New Issue