添加类序列化
This commit is contained in:
parent
03292ff18a
commit
5c37de8342
@ -6,7 +6,7 @@ import org.springframework.context.annotation.ComponentScan;
|
|||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
//@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"})
|
//@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"})
|
||||||
@ComponentScan("com.xkrs.model.entity")
|
//@ComponentScan("com.xkrs.model.entity")
|
||||||
public class WordAndExcelApplication {
|
public class WordAndExcelApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
package com.xkrs.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 质检采集数据表
|
* 质检采集数据表
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "qc_inspection_data_source")
|
@Table(name = "qc_inspection_data_source")
|
||||||
public class QcInspectionDataSource {
|
public class QcInspectionDataSource implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 采集数据编号
|
* 采集数据编号
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
package com.xkrs.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "file")
|
@Table(name = "file")
|
||||||
public class QcInspectionFile {
|
public class QcInspectionFile implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 编号
|
* 编号
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package com.xkrs.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author: XinYi Song
|
* @Author: XinYi Song
|
||||||
@ -16,7 +17,7 @@ import javax.persistence.*;
|
|||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "qc_inspection_item_dict")
|
@Table(name = "qc_inspection_item_dict")
|
||||||
public class QcInspectionItemDict {
|
public class QcInspectionItemDict implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 索引
|
* 索引
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
package com.xkrs.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 质检图片表
|
* 质检图片表
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "qc_inspection_picture")
|
@Table(name = "qc_inspection_picture")
|
||||||
public class QcInspectionPicture {
|
public class QcInspectionPicture implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 编号
|
* 编号
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
package com.xkrs.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 检验规格实体类
|
* 检验规格实体类
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "qc_inspection_spec")
|
@Table(name = "qc_inspection_spec")
|
||||||
public class QcInspectionSpec {
|
public class QcInspectionSpec implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 规格编号
|
* 规格编号
|
||||||
|
Loading…
Reference in New Issue
Block a user