TASK:数据迁移;
This commit is contained in:
15
src/main/java/com/ai/da/mapper/LibraryCopyMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/LibraryCopyMapper.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Library;
|
||||
import com.ai.da.mapper.entity.LibraryCopy;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface LibraryCopyMapper extends CommonMapper<LibraryCopy> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.LibraryModelPoint;
|
||||
import com.ai.da.mapper.entity.LibraryModelPointCopy;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-11-11
|
||||
*/
|
||||
public interface LibraryModelPointCopyMapper extends CommonMapper<LibraryModelPointCopy> {
|
||||
|
||||
}
|
||||
83
src/main/java/com/ai/da/mapper/entity/LibraryCopy.java
Normal file
83
src/main/java/com/ai/da/mapper/entity/LibraryCopy.java
Normal file
@@ -0,0 +1,83 @@
|
||||
package com.ai.da.mapper.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_library_copy")
|
||||
public class LibraryCopy implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* 一级类型
|
||||
*/
|
||||
private String level1Type;
|
||||
|
||||
/**
|
||||
* 二级类型
|
||||
*/
|
||||
private String level2Type;
|
||||
|
||||
// private String level3Type;
|
||||
|
||||
/**
|
||||
* 元素名
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 元素存放地址
|
||||
*/
|
||||
private String url;
|
||||
/**
|
||||
* md5值
|
||||
*/
|
||||
private String md5;
|
||||
/**
|
||||
* 图片高度,目前只争对 models类型
|
||||
*/
|
||||
private Integer high;
|
||||
/**
|
||||
* 图片宽度,目前只争对 models类型
|
||||
*/
|
||||
private Integer width;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
// private Integer isCopy;
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.ai.da.mapper.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-11-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_library_model_point_copy")
|
||||
public class LibraryModelPointCopy implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 关联的 library或sys Id
|
||||
*/
|
||||
private Long libraryId;
|
||||
|
||||
/**
|
||||
* 左肩
|
||||
*/
|
||||
private String shoulderLeft;
|
||||
|
||||
/**
|
||||
* 右肩
|
||||
*/
|
||||
private String shoulderRight;
|
||||
|
||||
/**
|
||||
* 左腰
|
||||
*/
|
||||
private String waistbandLeft;
|
||||
|
||||
/**
|
||||
* 右腰
|
||||
*/
|
||||
private String waistbandRight;
|
||||
/**
|
||||
* 左手
|
||||
*/
|
||||
private String handLeft;
|
||||
|
||||
/**
|
||||
* 右手
|
||||
*/
|
||||
private String handRight;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
Reference in New Issue
Block a user