Merge remote-tracking branch 'remotes/origin/test'
commit
aa1f7a2845
@ -0,0 +1,63 @@
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2020/04/03 7:12 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_DATA_WARNING")
|
||||
@Api("数据预警配置")
|
||||
public class MesDataWarning extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8328008752104417017L;
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "WARNING_RULE")
|
||||
@ApiParam("预警规则")
|
||||
private String warningRule;
|
||||
|
||||
@Column(name = "CHECK_TIME")
|
||||
@ApiParam("校验时间")
|
||||
private String checkTime;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数据量最大限制(分钟)")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "WARNING_ITEM")
|
||||
@ApiParam("预警内容项")
|
||||
private String warningItem;
|
||||
|
||||
@Column(name = "INFORM_MODE")
|
||||
@ApiParam("通知方式")
|
||||
private Integer informMode;
|
||||
|
||||
@Lob
|
||||
@Column(name = "INFORM_USER")
|
||||
@ApiParam("通知对象")
|
||||
private String informUser;
|
||||
|
||||
}
|
@ -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.MesDataWarning;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesDataWarningRepository extends BaseRepository<MesDataWarning, Long> {
|
||||
}
|
Loading…
Reference in New Issue