task `1425` pcn pojo 迁移
parent
05d0a0a375
commit
5892f87bdc
@ -0,0 +1,72 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : 账号离线登陆表
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-09-01 11:02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PCN_SYS_USER_OFFLINE")
|
||||
@Api(value = "账号离线登陆表", description = "账号离线登陆表。")
|
||||
public class MesPcnSysUserOffline extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 7617353154826718154L;
|
||||
@Column(name = "USER_ID")
|
||||
@ApiParam(value = "人员ID", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userId;
|
||||
|
||||
@Column(name = "USER_CODE")
|
||||
@ApiParam(value = "用户编号", access = "用户编号")
|
||||
private String userCode;
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam(value = "用户名称", access = "账号名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "LOGIN_NAME")
|
||||
@ApiParam(value = "登陆名称", access = "登陆名称")
|
||||
private String loginName;
|
||||
|
||||
@Column(name="USER_TYPE")
|
||||
@ApiParam(value ="账号类型(枚举,待定)" , example ="-1")
|
||||
private Integer userType;
|
||||
|
||||
@Lob
|
||||
@Column(name="LOGIN_INFO")
|
||||
@ApiParam(value ="登陆信息" , access ="登陆信息")
|
||||
private String loginInfo;
|
||||
|
||||
@Lob
|
||||
@Column(name="MENU_LIST")
|
||||
@ApiParam(value ="菜单" , access ="菜单")
|
||||
private String menuList;
|
||||
|
||||
@Lob
|
||||
@Column(name="MODULE_LIST")
|
||||
@ApiParam(value ="模块" , access ="模块")
|
||||
private String moduleList;
|
||||
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
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 java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :mes-pcn定时任务工作清单同步记录
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-27
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PCN_TASK_LOG")
|
||||
@Api("mes-pcn定时任务工作清单同步记录")
|
||||
public class MesPcnTaskLog extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -784806389462540310L;
|
||||
|
||||
@Column(name = "SYNC_TIME_START")
|
||||
@ApiParam("同步数据开始时间")
|
||||
private String syncTimeStart;
|
||||
|
||||
@Column(name = "SYNC_TIME_END")
|
||||
@ApiParam("同步数据截止时间")
|
||||
private String syncTimeEnd;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
|
||||
@Column(name = "ERROR_CONTENT")
|
||||
@ApiParam("异常内容")
|
||||
private Long errorContent;
|
||||
|
||||
public int getSyncStatusVal() {
|
||||
return this.syncStatus == null ? 0 : this.syncStatus;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
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 java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TIME")
|
||||
@Api("工步参数")
|
||||
public class MesTime extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1562011791394529076L;
|
||||
|
||||
@Column(name = "MODULE")
|
||||
@ApiParam("组件")
|
||||
private String module;
|
||||
|
||||
@Column(name = "ELAPSE")
|
||||
@ApiParam("耗时")
|
||||
private Long elapse;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
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 java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :扭矩信息记录表
|
||||
* @Reference :
|
||||
* @Author : Crish
|
||||
* @CreateDate : 2019-05-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TORQUE_DETAIL")
|
||||
@Api("扭矩信息记录表")
|
||||
public class MesTorqueDetail extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 2900363253333046861L;
|
||||
|
||||
@Column(name = "SN")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "UPPER_LIMIT")
|
||||
@ApiParam("最大值")
|
||||
private Double upperLimit;
|
||||
|
||||
@Column(name = "LOWER_LIMIT")
|
||||
@ApiParam("最小值")
|
||||
private Double lowerLimit;
|
||||
|
||||
@Column(name = "TORQUE_DETAIL_VALUE")
|
||||
@ApiParam("扭矩值")
|
||||
private Double torqueValue;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "ok")
|
||||
@ApiParam("扭矩是否合格")
|
||||
private String ok;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "p_set")
|
||||
@ApiParam("螺丝枪PSET设置值")
|
||||
private String deviceSetValue;
|
||||
|
||||
@Column(name = "MAXANGLE")
|
||||
@ApiParam("最大扭矩")
|
||||
private String maxAngle;
|
||||
|
||||
@Column(name = "MINANGLE")
|
||||
@ApiParam("最小扭矩")
|
||||
private String minAngel;
|
||||
|
||||
@Column(name = "FINALANGLE")
|
||||
@ApiParam("最终扭矩")
|
||||
private Integer finalAngle;
|
||||
|
||||
@Column(name = "WORK_ORDER_NO")
|
||||
@ApiParam("工单号")
|
||||
private String workOrderNo;
|
||||
|
||||
@Column(name = "KEY_DATA_CODE")
|
||||
@ApiParam("关键数据代码")
|
||||
private String keyDataCode;
|
||||
|
||||
@Column(name = "RESULT_MSG")
|
||||
@ApiParam("扭矩判定结果")
|
||||
private String resultMsg;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue