Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
4b47ceb42d
@ -0,0 +1,25 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.model;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class GanttCalendarModel {
|
||||||
|
@Data
|
||||||
|
public static class Block {
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date beginTime;
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date endTime;
|
||||||
|
private Boolean onDuty;
|
||||||
|
}
|
||||||
|
private Long resourceId;
|
||||||
|
private List<Block> timeBlocks = new ArrayList<>();
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
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\11\5 10:47
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_PRODUCT_ENCODE_CFG")
|
||||||
|
@Api("产品编码配置")
|
||||||
|
public class MesProductEncodeCfg extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "CODE_TYPE")
|
||||||
|
@ApiParam("编码类型")
|
||||||
|
private String codeType;
|
||||||
|
|
||||||
|
@Column(name = "MATCH_TYPE")
|
||||||
|
@ApiParam("匹配类型")
|
||||||
|
private String matchType;
|
||||||
|
|
||||||
|
@Column(name = "MATCH_VALUE")
|
||||||
|
@ApiParam("匹配值")
|
||||||
|
private String matchValue;
|
||||||
|
|
||||||
|
@Column(name = "RULE_CODE")
|
||||||
|
@ApiParam("编码规则代码")
|
||||||
|
private String ruleCode;
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesProductEncodeCfg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate: 2019\11\5 10:59
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface MesProductEncodeCfgRepository extends BaseRepository<MesProductEncodeCfg, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue