Merge pull request 'andon' (#348) from jhforever.wang/i3plus-pojo-U7:test into test
Reviewed-on: http://git.estsh.com/i3-IMPP/i3plus-pojo/pulls/348yun-zuoyi
commit
a25635fe32
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/12/4 1:28 下午
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "ANDON_FILE")
|
||||
@Api("文件表")
|
||||
public class AndonFile extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5743291150478737944L;
|
||||
|
||||
@Column(name = "FILE_NAME")
|
||||
@ApiParam("文件名称")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "FILE_URL")
|
||||
@ApiParam("文件URL")
|
||||
private String fileUrl;
|
||||
|
||||
@Column(name = "GROUP_NAME")
|
||||
@ApiParam("组名")
|
||||
private String groupName;
|
||||
|
||||
@Column(name = "FILE_ORIGIN_NAME")
|
||||
@ApiParam("文件原名")
|
||||
private String fileOriginName;
|
||||
|
||||
@Column(name = "FILE_SIZE")
|
||||
@ApiParam("文件大小")
|
||||
private String fileSize;
|
||||
|
||||
@Column(name = "FILE_TYPE")
|
||||
@ApiParam("文件类型名称")
|
||||
private String fileType;
|
||||
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/7/30 9:30 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "ANDON_MODULE_EXCEL_MANAGE", indexes = {
|
||||
@Index(columnList = "MODULE_CODE"),
|
||||
@Index(columnList = "MODULE_NAME")
|
||||
})
|
||||
@Api("模块EXCEL管理表")
|
||||
public class AndonModuleExcelManage extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4174331010179941394L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("模块代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "MODULE_NAME")
|
||||
@ApiParam("模块名称")
|
||||
private String moduleName;
|
||||
|
||||
@Column(name = "FILE_ID")
|
||||
@ApiParam("文件id")
|
||||
private Long fileId;
|
||||
|
||||
@Transient
|
||||
@ApiParam("文件URL")
|
||||
private String fileUrl;
|
||||
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/15 15:32
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("模块EXCEL管理")
|
||||
public class AndonConfigModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3904799282814930138L;
|
||||
|
||||
@ApiParam("id")
|
||||
private String idStr;
|
||||
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
@ApiParam(value ="参数代码")
|
||||
private String configCode;
|
||||
|
||||
@ApiParam(value ="参数描述")
|
||||
private String configDescription;
|
||||
|
||||
@ApiParam(value ="参数键")
|
||||
private String configKey;
|
||||
|
||||
@ApiParam(value ="参数键描述")
|
||||
private String configKeyName;
|
||||
|
||||
@ApiParam(value ="参数值类型")
|
||||
private String configValueType;
|
||||
|
||||
@ApiParam(value ="参数值类型描述")
|
||||
private String configValueTypeName;
|
||||
|
||||
@ApiParam(value ="参数值")
|
||||
private String configValue;
|
||||
|
||||
@ApiParam(value ="参数值描述")
|
||||
private String configValueDesc;
|
||||
|
||||
@ApiParam("组织代码")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiParam("创建用户")
|
||||
private String createUser;
|
||||
|
||||
@ApiParam("创建日期")
|
||||
private String createDatetime;
|
||||
|
||||
@ApiParam("修改人")
|
||||
private String modifyUser;
|
||||
|
||||
@ApiParam("修改日期")
|
||||
private String modifyDatetime;
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/15 15:32
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("模块EXCEL管理")
|
||||
public class AndonModuleExcelManageModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5632288300819137538L;
|
||||
|
||||
@ApiParam("id")
|
||||
private String idStr;
|
||||
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam("模块代码")
|
||||
private String moduleCode;
|
||||
|
||||
@ApiParam("模块名称")
|
||||
private String moduleName;
|
||||
|
||||
@ApiParam("文件ID")
|
||||
private Long fileId;
|
||||
|
||||
@ApiParam("文件URL")
|
||||
private String fileUrl;
|
||||
|
||||
@ApiParam("文件原名")
|
||||
private String fileOriginName;
|
||||
|
||||
@ApiParam("组织代码")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiParam("创建用户")
|
||||
private String createUser;
|
||||
|
||||
@ApiParam("创建日期")
|
||||
private String createDatetime;
|
||||
|
||||
@ApiParam("修改人")
|
||||
private String modifyUser;
|
||||
|
||||
@ApiParam("修改日期")
|
||||
private String modifyDatetime;
|
||||
|
||||
public AndonModuleExcelManageModel() {
|
||||
}
|
||||
|
||||
public AndonModuleExcelManageModel(Long id, String moduleCode, String moduleName, Long fileId, String fileUrl, String fileOriginName,
|
||||
String organizeCode, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
|
||||
this.id = id;
|
||||
this.moduleCode = moduleCode;
|
||||
this.moduleName = moduleName;
|
||||
this.fileId = fileId;
|
||||
this.fileUrl = fileUrl;
|
||||
this.fileOriginName = fileOriginName;
|
||||
this.organizeCode = organizeCode;
|
||||
this.createUser = createUser;
|
||||
this.createDatetime = createDatetime;
|
||||
this.modifyUser = modifyUser;
|
||||
this.modifyDatetime = modifyDatetime;
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonFile;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-07-30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonFileRepository extends BaseRepository<AndonFile, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonModuleExcelManage;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/29 15:02
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonModuleExcelManageRepository extends BaseRepository<AndonModuleExcelManage, Long> {
|
||||
}
|
Loading…
Reference in New Issue