设备作业周期 新增planCfgCode
parent
1e6ca2e0bb
commit
52bdc6c664
@ -0,0 +1,55 @@
|
||||
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 javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :设备计划配置
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2020-10-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_TASK_PLAN_CFG")
|
||||
@Api("设备周期作业计划配置")
|
||||
public class MesEquTaskPlanCfg extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 7734079474434307857L;
|
||||
|
||||
@Column(name = "PLAN_CFG_CODE")
|
||||
@ApiParam("计划配置代码")
|
||||
private String planCfgCode;
|
||||
|
||||
@Column(name = "BACKGROUND_COLOR")
|
||||
@ApiParam("显示背景色")
|
||||
private String backgroundColor;
|
||||
|
||||
@Column(name = "COLOR")
|
||||
@ApiParam("字体颜色")
|
||||
private String color;
|
||||
|
||||
@Column(name = "CYCLE")
|
||||
@ApiParam("周期(天)")
|
||||
private Integer taskCycle;
|
||||
|
||||
@Column(name = "DISPLAY_TEXT")
|
||||
@ApiParam("显示文字")
|
||||
private String displayText;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquTaskPlanCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquTaskPlanCfgRepository extends BaseRepository<MesEquTaskPlanCfg, Long> {
|
||||
}
|
Loading…
Reference in New Issue