TASK:多数据源;
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.AccountLoginLog;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface AccountLoginLogMapper extends CommonMapper<AccountLoginLog> {
|
||||
|
||||
}
|
||||
32
src/main/java/com/ai/da/mapper/primary/AccountMapper.java
Normal file
32
src/main/java/com/ai/da/mapper/primary/AccountMapper.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Account;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface AccountMapper extends CommonMapper<Account> {
|
||||
|
||||
/**
|
||||
* 手机号批量查询
|
||||
*
|
||||
* @param phoneList
|
||||
* @return
|
||||
*/
|
||||
List<Account> findByPhoneList(List<String> phoneList);
|
||||
|
||||
/**
|
||||
* 主键查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
Account findById(String id);
|
||||
|
||||
}
|
||||
14
src/main/java/com/ai/da/mapper/primary/ChatRobotMapper.java
Normal file
14
src/main/java/com/ai/da/mapper/primary/ChatRobotMapper.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.ChatRobot;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-25
|
||||
*/
|
||||
public interface ChatRobotMapper extends CommonMapper<ChatRobot> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Classification;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-25
|
||||
*/
|
||||
public interface ClassificationMapper extends CommonMapper<Classification> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.ClassificationRelLibrary;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-25
|
||||
*/
|
||||
public interface ClassificationRelLibraryMapper extends CommonMapper<ClassificationRelLibrary> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.CollectionElement;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author yanglei
|
||||
* @since 2022-10-13
|
||||
*/
|
||||
public interface CollectionElementMapper extends CommonMapper<CollectionElement> {
|
||||
|
||||
}
|
||||
15
src/main/java/com/ai/da/mapper/primary/CollectionMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/primary/CollectionMapper.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Collection;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface CollectionMapper extends CommonMapper<Collection> {
|
||||
//返回插入数据后生成的主键
|
||||
Long insertCollection(Collection collection);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.ColorLookupTable;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-09-30
|
||||
*/
|
||||
public interface ColorLoopUpTableMapper extends CommonMapper<ColorLookupTable> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.DesignHistory;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignHistoryMapper extends CommonMapper<DesignHistory> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.DesignItemDetail;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignItemDetailMapper extends CommonMapper<DesignItemDetail> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.DesignItemDetailPrint;
|
||||
|
||||
|
||||
public interface DesignItemDetailPrintMapper extends CommonMapper<DesignItemDetailPrint> {
|
||||
}
|
||||
15
src/main/java/com/ai/da/mapper/primary/DesignItemMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/primary/DesignItemMapper.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.DesignItem;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignItemMapper extends CommonMapper<DesignItem> {
|
||||
|
||||
Long insertDesignItem(DesignItem designItem);
|
||||
}
|
||||
16
src/main/java/com/ai/da/mapper/primary/DesignMapper.java
Normal file
16
src/main/java/com/ai/da/mapper/primary/DesignMapper.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Design;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignMapper extends CommonMapper<Design> {
|
||||
|
||||
//返回插入数据后生成的主键
|
||||
Long insertDesign(Design design);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.GenerateDetail;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface GenerateDetailMapper extends CommonMapper<GenerateDetail> {
|
||||
/**
|
||||
* 查找相同MD5相同level1Type 被like过的图片的libraryId
|
||||
* @param md5 图片的MD5值
|
||||
* @param level1Type levelType
|
||||
* @return libraryId
|
||||
*/
|
||||
List<Map<String,Long>> getLibraryIdThroughMD5(String md5, String level1Type);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Generate;
|
||||
|
||||
public interface GenerateMapper extends CommonMapper<Generate> {
|
||||
}
|
||||
14
src/main/java/com/ai/da/mapper/primary/LibraryMapper.java
Normal file
14
src/main/java/com/ai/da/mapper/primary/LibraryMapper.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Library;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface LibraryMapper extends CommonMapper<Library> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.LibraryModelPoint;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-11-11
|
||||
*/
|
||||
public interface LibraryModelPointMapper extends CommonMapper<LibraryModelPoint> {
|
||||
|
||||
}
|
||||
19
src/main/java/com/ai/da/mapper/primary/PanToneMapper.java
Normal file
19
src/main/java/com/ai/da/mapper/primary/PanToneMapper.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.PanTone;
|
||||
import com.ai.da.model.dto.GetRgbByHsvBatchDTO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface PanToneMapper extends CommonMapper<PanTone> {
|
||||
|
||||
List<PanTone> getRgbByHsvBatch(@Param("rgbByHsvBatch") List<GetRgbByHsvBatchDTO> rgbByHsvBatch);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.PythonTAllInfo;
|
||||
|
||||
/**
|
||||
* (PythonTAllInfo)表数据库访问层
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-08 17:05:24
|
||||
*/
|
||||
public interface PythonTAllInfoMapper extends CommonMapper<PythonTAllInfo> {
|
||||
|
||||
}
|
||||
|
||||
14
src/main/java/com/ai/da/mapper/primary/SysFileMapper.java
Normal file
14
src/main/java/com/ai/da/mapper/primary/SysFileMapper.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.SysFile;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-10-6
|
||||
*/
|
||||
public interface SysFileMapper extends CommonMapper<SysFile> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.TCollectionElementRelation;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* collection和element的关联表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author yanglei
|
||||
* @since 2023-05-07
|
||||
*/
|
||||
@Mapper
|
||||
public interface TCollectionElementRelationMapper extends CommonMapper<TCollectionElementRelation> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.TDesignPythonOutfitDetail;
|
||||
import com.ai.da.model.vo.TDesignPythonOutfitDetailVO;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* design item详情表 Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-04
|
||||
*/
|
||||
public interface TDesignPythonOutfitDetailMapper extends CommonMapper<TDesignPythonOutfitDetail> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page
|
||||
* @param tDesignPythonOutfitDetail
|
||||
* @return
|
||||
*/
|
||||
List<TDesignPythonOutfitDetailVO> selectTDesignPythonOutfitDetailPage(IPage page, TDesignPythonOutfitDetailVO tDesignPythonOutfitDetail);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.TDesignPythonOutfit;
|
||||
import com.ai.da.model.vo.TDesignPythonOutfitVO;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* design item表 存对应design的8张图片 Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-04
|
||||
*/
|
||||
public interface TDesignPythonOutfitMapper extends CommonMapper<TDesignPythonOutfit> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page
|
||||
* @param tDesignPythonOutfit
|
||||
* @return
|
||||
*/
|
||||
List<TDesignPythonOutfitVO> selectTDesignPythonOutfitPage(IPage page, TDesignPythonOutfitVO tDesignPythonOutfit);
|
||||
|
||||
}
|
||||
16
src/main/java/com/ai/da/mapper/primary/TrialOrderMapper.java
Normal file
16
src/main/java/com/ai/da/mapper/primary/TrialOrderMapper.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.TrialOrder;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface TrialOrderMapper extends CommonMapper<TrialOrder> {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.UserLikeGroup;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface UserLikeGroupMapper extends CommonMapper<UserLikeGroup> {
|
||||
//返回插入数据后生成的主键
|
||||
Long insertUserLikeGroup(UserLikeGroup userLikeGroup);
|
||||
}
|
||||
14
src/main/java/com/ai/da/mapper/primary/UserLikeMapper.java
Normal file
14
src/main/java/com/ai/da/mapper/primary/UserLikeMapper.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.UserLike;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface UserLikeMapper extends CommonMapper<UserLike> {
|
||||
|
||||
}
|
||||
27
src/main/java/com/ai/da/mapper/primary/WorkspaceMapper.java
Normal file
27
src/main/java/com/ai/da/mapper/primary/WorkspaceMapper.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.Workspace;
|
||||
import com.ai.da.model.vo.WorkspaceVO;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-08-01
|
||||
*/
|
||||
public interface WorkspaceMapper extends CommonMapper<Workspace> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page
|
||||
* @param workspace
|
||||
* @return
|
||||
*/
|
||||
List<WorkspaceVO> selectWorkspacePage(IPage page, WorkspaceVO workspace);
|
||||
|
||||
}
|
||||
83
src/main/java/com/ai/da/mapper/primary/entity/Account.java
Normal file
83
src/main/java/com/ai/da/mapper/primary/entity/Account.java
Normal file
@@ -0,0 +1,83 @@
|
||||
package com.ai.da.mapper.primary.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_account")
|
||||
public class Account implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
private String userEmail;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
private String userPassword;
|
||||
|
||||
/**
|
||||
* 语言
|
||||
*/
|
||||
private String language;
|
||||
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private String country;
|
||||
|
||||
/**
|
||||
* 账户有效期开始时间
|
||||
*/
|
||||
private Long validStartTime;
|
||||
|
||||
/**
|
||||
* 账户有效期结束时间
|
||||
*/
|
||||
private Long validEndTime;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
private Integer isTrial;
|
||||
|
||||
private Integer isBeginner;
|
||||
|
||||
private String browserIdentifiers;
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.ai.da.mapper.primary.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;
|
||||
|
||||
/**
|
||||
* 账户登入日志
|
||||
*
|
||||
* @author yl
|
||||
* @since 2022-09-03
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_account_login_log")
|
||||
public class AccountLoginLog implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 账户id
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* ip
|
||||
*/
|
||||
private String ip;
|
||||
|
||||
/**
|
||||
* ip地址
|
||||
*/
|
||||
private String ipAddr;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
}
|
||||
40
src/main/java/com/ai/da/mapper/primary/entity/ChatRobot.java
Normal file
40
src/main/java/com/ai/da/mapper/primary/entity/ChatRobot.java
Normal file
@@ -0,0 +1,40 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("chat_robot")
|
||||
public class ChatRobot implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private String sessionId;
|
||||
|
||||
private String input;
|
||||
|
||||
private String responseType;
|
||||
private String output;
|
||||
private Long promptTokens;
|
||||
private BigDecimal totalCost;
|
||||
private Long totalTokens;
|
||||
private Long completionTokens;
|
||||
private Integer successful;
|
||||
private Long userId;
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("classification")
|
||||
public class Classification implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private String classificationName;
|
||||
@ApiModelProperty(value = "分类类型")
|
||||
private String type;
|
||||
@ApiModelProperty(value = "父菜单ID")
|
||||
private Long parentId;
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
@ApiModelProperty(value = "是否删除1:是0:否")
|
||||
private Integer isDeleted = 0;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("classification_rel_library")
|
||||
public class ClassificationRelLibrary implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private Long classificationId;
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private Long libraryId;
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
@ApiModelProperty(value = "是否删除1:是0:否")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.ai.da.mapper.primary.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_collection")
|
||||
public class Collection implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* mood模板id
|
||||
*/
|
||||
private String moodTemplateId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
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_collection_element")
|
||||
public class CollectionElement implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
/**
|
||||
* collectionId
|
||||
*/
|
||||
private Long collectionId;
|
||||
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 一级类型
|
||||
*/
|
||||
private String level1Type;
|
||||
|
||||
/**
|
||||
* 二级类型
|
||||
*/
|
||||
private String level2Type;
|
||||
|
||||
/**
|
||||
* 元素名(如果是颜色board 存潘通id+潘通名字 形式 ""11_mds")
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 元素存放地址
|
||||
*/
|
||||
private String url;
|
||||
/**
|
||||
* 是否pin 1pin 0 不pin
|
||||
*/
|
||||
@TableField("is_pin")
|
||||
private Byte hasPin;
|
||||
/**
|
||||
* 颜色的rgb值 空格分割
|
||||
*/
|
||||
private String colorRgb;
|
||||
/**
|
||||
* md5值
|
||||
*/
|
||||
private String md5;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-09-30
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("color_lookup_table")
|
||||
public class ColorLookupTable implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* colorValue
|
||||
*/
|
||||
private Integer colorValue;
|
||||
|
||||
/**
|
||||
* color_index
|
||||
*/
|
||||
private Integer colorIndex;
|
||||
}
|
||||
72
src/main/java/com/ai/da/mapper/primary/entity/Design.java
Normal file
72
src/main/java/com/ai/da/mapper/primary/entity/Design.java
Normal file
@@ -0,0 +1,72 @@
|
||||
package com.ai.da.mapper.primary.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.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_design")
|
||||
public class Design implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
/**
|
||||
* collectionId
|
||||
*/
|
||||
private Long collectionId;
|
||||
/**
|
||||
* 模特id
|
||||
*/
|
||||
private Long templateId;
|
||||
|
||||
private String modelType;
|
||||
|
||||
/**
|
||||
* system scale值
|
||||
*/
|
||||
private BigDecimal systemScale;
|
||||
|
||||
/**
|
||||
* 控制生成类型的参数,两个选项:“overall”或“single”
|
||||
*/
|
||||
private String singleOverall;
|
||||
|
||||
/**
|
||||
* single模式下的类别选择参数 选项有outwear,dress,blouse,skirt,trousers
|
||||
*/
|
||||
private String switchCategory;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.ai.da.mapper.primary.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_design_history")
|
||||
public class DesignHistory implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* collectionId
|
||||
*/
|
||||
private Long collectionId;
|
||||
|
||||
/**
|
||||
* md5值
|
||||
*/
|
||||
private String md5;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
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_design_item")
|
||||
public class DesignItem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
/**
|
||||
* collectionId
|
||||
*/
|
||||
private Long collectionId;
|
||||
/**
|
||||
* designId
|
||||
*/
|
||||
private Long designId;
|
||||
|
||||
/**
|
||||
* print scale值
|
||||
*/
|
||||
private String printScale;
|
||||
|
||||
/**
|
||||
* design后的用户文件地址(python 返回)
|
||||
*/
|
||||
private String designUrl;
|
||||
|
||||
/**
|
||||
* 二次(高级,基础design的图再次design)design后的用户文件地址(python 返回)
|
||||
*/
|
||||
private String highDesignUrl;
|
||||
/**
|
||||
* 是否like 0 否 1是
|
||||
*/
|
||||
@TableField("is_like")
|
||||
private Byte hasLike;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package com.ai.da.mapper.primary.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_design_item_detail")
|
||||
public class DesignItemDetail implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* designId
|
||||
*/
|
||||
private Long designId;
|
||||
|
||||
/**
|
||||
* designItemId
|
||||
*/
|
||||
private Long designItemId;
|
||||
|
||||
/**
|
||||
* elemntId
|
||||
*/
|
||||
private Long collectionElementId;
|
||||
|
||||
/**
|
||||
* 生成item实际对应的类型 有:outwear,dress,blouse,skirt,trousers Shoes Hairstyle Earring Body
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 对应的图片的绝对路径
|
||||
*/
|
||||
private String path;
|
||||
|
||||
/**
|
||||
* 颜色 存 RGB值 中间空格分隔 比如 "58 58 169"
|
||||
*/
|
||||
private String color;
|
||||
|
||||
/**
|
||||
* 对应的print图片的绝对路径
|
||||
*/
|
||||
private String printPath;
|
||||
|
||||
/**
|
||||
* 对应的icon的绝对路径
|
||||
*/
|
||||
private String iconPath;
|
||||
|
||||
/**
|
||||
* 对应上游业务id
|
||||
*/
|
||||
private Long businessId;
|
||||
|
||||
/**
|
||||
* 存储print打点的的参数json对象
|
||||
*/
|
||||
private String printJson;
|
||||
|
||||
/**
|
||||
* item的优先级
|
||||
*/
|
||||
private Integer priority;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
/**
|
||||
* 逻辑删除 1->删除 0->未删除 默认null
|
||||
*/
|
||||
private Byte isDeleted;
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@TableName("t_design_item_detail_print")
|
||||
public class DesignItemDetailPrint {
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 关联t_design_item_detail表ID
|
||||
*/
|
||||
private Long designItemDetailId;
|
||||
/**
|
||||
* 印花路径
|
||||
*/
|
||||
private String path;
|
||||
/**
|
||||
* 印花位置
|
||||
*/
|
||||
private String position;
|
||||
/**
|
||||
* 印花缩放比例
|
||||
*/
|
||||
private Double scale;
|
||||
/**
|
||||
* 印花旋转角度
|
||||
*/
|
||||
private Double angle;
|
||||
/**
|
||||
* 印花优先级(多个印花)
|
||||
*/
|
||||
private Integer priority;
|
||||
/**
|
||||
* 选择single or overall 模式
|
||||
*/
|
||||
private String singleOrOverall;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createDate;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updateDate;
|
||||
}
|
||||
65
src/main/java/com/ai/da/mapper/primary/entity/Generate.java
Normal file
65
src/main/java/com/ai/da/mapper/primary/entity/Generate.java
Normal file
@@ -0,0 +1,65 @@
|
||||
package com.ai.da.mapper.primary.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.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_generate")
|
||||
public class Generate {
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
|
||||
/**
|
||||
* Sketchboard Printboard
|
||||
*/
|
||||
private String level1Type;
|
||||
|
||||
/**
|
||||
* 关联collection element id
|
||||
*/
|
||||
private Long collectionElementId;
|
||||
|
||||
/**
|
||||
* caption的内容
|
||||
*/
|
||||
private String text;
|
||||
|
||||
/**
|
||||
* 选择生成类型:text、image、text-image
|
||||
*/
|
||||
private String generateType;
|
||||
|
||||
/**
|
||||
* 模型名
|
||||
*/
|
||||
private String modelName;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ai.da.mapper.primary.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.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_generate_detail")
|
||||
public class GenerateDetail {
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 关联 generate ID
|
||||
*/
|
||||
private Long generateId;
|
||||
|
||||
/**
|
||||
* 模型返回的图片url
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 是否喜欢 0:dislike 1:like
|
||||
*/
|
||||
private Byte isLike;
|
||||
|
||||
/**
|
||||
* 喜欢的图片添加到library对应的id
|
||||
*/
|
||||
private Long libraryId;
|
||||
|
||||
/**
|
||||
* 图片的md5
|
||||
*/
|
||||
private String md5;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
|
||||
}
|
||||
83
src/main/java/com/ai/da/mapper/primary/entity/Library.java
Normal file
83
src/main/java/com/ai/da/mapper/primary/entity/Library.java
Normal file
@@ -0,0 +1,83 @@
|
||||
package com.ai.da.mapper.primary.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")
|
||||
public class Library 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,81 @@
|
||||
package com.ai.da.mapper.primary.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")
|
||||
public class LibraryModelPoint implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* modelType
|
||||
*/
|
||||
private String modelType;
|
||||
|
||||
/**
|
||||
* 关联的 library或sys Id
|
||||
*/
|
||||
private Long relationId;
|
||||
|
||||
/**
|
||||
* 左肩
|
||||
*/
|
||||
private String shoulderLeft;
|
||||
|
||||
/**
|
||||
* 右肩
|
||||
*/
|
||||
private String shoulderRight;
|
||||
|
||||
/**
|
||||
* 左腰
|
||||
*/
|
||||
private String waistbandLeft;
|
||||
|
||||
/**
|
||||
* 右腰
|
||||
*/
|
||||
private String waistbandRight;
|
||||
/**
|
||||
* 左手
|
||||
*/
|
||||
private String handLeft;
|
||||
|
||||
/**
|
||||
* 右手
|
||||
*/
|
||||
private String handRight;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ObjectItem {
|
||||
private String objectName;
|
||||
private Long size;
|
||||
}
|
||||
|
||||
70
src/main/java/com/ai/da/mapper/primary/entity/PanTone.java
Normal file
70
src/main/java/com/ai/da/mapper/primary/entity/PanTone.java
Normal file
@@ -0,0 +1,70 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("pantone")
|
||||
public class PanTone implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* pantone_index
|
||||
*/
|
||||
@TableId("pantone_index")
|
||||
private Integer pantoneIndex;
|
||||
|
||||
/**
|
||||
* name
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* TCX
|
||||
*/
|
||||
private String tcx;
|
||||
|
||||
/**
|
||||
* R
|
||||
*/
|
||||
private Integer r;
|
||||
|
||||
/**
|
||||
* G
|
||||
*/
|
||||
private Integer g;
|
||||
|
||||
/**
|
||||
* B
|
||||
*/
|
||||
private Integer b;
|
||||
|
||||
/**
|
||||
* H
|
||||
*/
|
||||
private Integer h;
|
||||
|
||||
/**
|
||||
* S
|
||||
*/
|
||||
private Integer s;
|
||||
|
||||
/**
|
||||
* V
|
||||
*/
|
||||
private Integer v;
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
package com.ai.da.mapper.primary.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;
|
||||
|
||||
/**
|
||||
* (PythonTAllInfo)实体类
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-09-08 17:05:25
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("python_t_all_info")
|
||||
public class PythonTAllInfo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private String imagePath;
|
||||
|
||||
private String imageCategory;
|
||||
|
||||
private String necklineLeft;
|
||||
|
||||
private String necklineRight;
|
||||
|
||||
private String centerFront;
|
||||
|
||||
private String shoulderLeft;
|
||||
|
||||
private String shoulderRight;
|
||||
|
||||
private String armpitLeft;
|
||||
|
||||
private String armpitRight;
|
||||
|
||||
private String waistlineLeft;
|
||||
|
||||
private String waistlineRight;
|
||||
|
||||
private String cuffLeftIn;
|
||||
|
||||
private String cuffLeftOut;
|
||||
|
||||
private String cuffRightIn;
|
||||
|
||||
private String cuffRightOut;
|
||||
|
||||
private String topHemLeft;
|
||||
|
||||
private String topHemRight;
|
||||
|
||||
private String waistbandLeft;
|
||||
|
||||
private String waistbandRight;
|
||||
|
||||
private String hemlineLeft;
|
||||
|
||||
private String hemlineRight;
|
||||
|
||||
private String crotch;
|
||||
|
||||
private String bottomLeftIn;
|
||||
|
||||
private String bottomLeftOut;
|
||||
|
||||
private String bottomRightIn;
|
||||
|
||||
private String bottomRightOut;
|
||||
|
||||
private String md5;
|
||||
|
||||
private String maskPath;
|
||||
|
||||
private String segResultPath;
|
||||
}
|
||||
|
||||
10
src/main/java/com/ai/da/mapper/primary/entity/Sketches.java
Normal file
10
src/main/java/com/ai/da/mapper/primary/entity/Sketches.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class Sketches {
|
||||
private String image_id;
|
||||
private String image_url;
|
||||
private String image_category;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SketchesBoundingBox {
|
||||
private List<Sketches> sketches;
|
||||
|
||||
}
|
||||
|
||||
|
||||
81
src/main/java/com/ai/da/mapper/primary/entity/SysFile.java
Normal file
81
src/main/java/com/ai/da/mapper/primary/entity/SysFile.java
Normal file
@@ -0,0 +1,81 @@
|
||||
package com.ai.da.mapper.primary.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_sys_file")
|
||||
public class SysFile implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 一级类型 accessories icon Images
|
||||
*/
|
||||
private String level1Type;
|
||||
|
||||
/**
|
||||
* 二级类型 目前有outwear,dress,blouse,skirt,trousers Shoes Hairstyle Earring
|
||||
*/
|
||||
private String level2Type;
|
||||
|
||||
private String level3Type;
|
||||
|
||||
/**
|
||||
* 名字
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* md5值
|
||||
*/
|
||||
private String md5;
|
||||
|
||||
/**
|
||||
* 路径 绝对路径
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
|
||||
public SysFile() {
|
||||
}
|
||||
|
||||
public SysFile(String level1Type, String level2Type, String name, String md5, String url, Date createDate) {
|
||||
this.level1Type = level1Type;
|
||||
this.level2Type = level2Type;
|
||||
this.name = name;
|
||||
this.md5 = md5;
|
||||
this.url = url;
|
||||
this.createDate = createDate;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* collection和element的关联表
|
||||
* </p>
|
||||
*
|
||||
* @author yanglei
|
||||
* @since 2023-05-07
|
||||
*/
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
@Setter
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_collection_element_relation")
|
||||
@ApiModel(value = "TCollectionElementRelation对象", description = "collection和element的关联表")
|
||||
public class TCollectionElementRelation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("element ID")
|
||||
private Long elementId;
|
||||
|
||||
@ApiModelProperty("colletion ID class类型为COLLECTION 存 其他默认是0")
|
||||
private Long collectionId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createDate;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* design item表 存对应design的8张图片实体类
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-08-30
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "TDesignPythonOutfit对象", description = "design item表 存对应design的8张图片")
|
||||
public class TDesignPythonOutfit implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@ApiModelProperty(value = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* designItemId
|
||||
*/
|
||||
@ApiModelProperty(value = "designItemId")
|
||||
private Long designItemId;
|
||||
/**
|
||||
* 关联的design ID
|
||||
*/
|
||||
@ApiModelProperty(value = "关联的design ID")
|
||||
private Long designId;
|
||||
/**
|
||||
* 关联的collection ID
|
||||
*/
|
||||
@ApiModelProperty(value = "关联的collection ID")
|
||||
private Long collectionId;
|
||||
/**
|
||||
* design后的用户文件地址(python 返回)
|
||||
*/
|
||||
@ApiModelProperty(value = "design后的用户文件地址(python 返回)")
|
||||
private String designUrl;
|
||||
/**
|
||||
* 保存用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "保存用户ID")
|
||||
private Long userId;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createDate;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updateDate;
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除")
|
||||
private String isDeleted;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* design item详情表实体类
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-08-31
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "TDesignPythonOutfitDetail对象", description = "design item详情表")
|
||||
public class TDesignPythonOutfitDetail implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@ApiModelProperty(value = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 关联的design ID
|
||||
*/
|
||||
@ApiModelProperty(value = "关联的design ID")
|
||||
private Long designId;
|
||||
/**
|
||||
* 关联的design_item ID
|
||||
*/
|
||||
@ApiModelProperty(value = "关联的design_item ID")
|
||||
private Long designPythonOutfitId;
|
||||
/**
|
||||
* 关联的elementId 没有为null
|
||||
*/
|
||||
@ApiModelProperty(value = "关联的elementId 没有为null")
|
||||
private Long collectionElementId;
|
||||
/**
|
||||
* 图层
|
||||
*/
|
||||
@ApiModelProperty(value = "图层")
|
||||
private String imageCategory;
|
||||
|
||||
/**
|
||||
* imageSize
|
||||
*/
|
||||
@ApiModelProperty(value = "imageSize")
|
||||
private String imageSize;
|
||||
/**
|
||||
* 对应的图片的绝对路径
|
||||
*/
|
||||
@ApiModelProperty(value = "对应的图片的绝对路径")
|
||||
private String imageUrl;
|
||||
/**
|
||||
* mask_url
|
||||
*/
|
||||
@ApiModelProperty(value = "mask_url")
|
||||
private String maskUrl;
|
||||
/**
|
||||
* 位置
|
||||
*/
|
||||
@ApiModelProperty(value = "位置")
|
||||
private String position;
|
||||
/**
|
||||
* 偏移量
|
||||
*/
|
||||
@ApiModelProperty(value = "偏移量")
|
||||
private String offset;
|
||||
/**
|
||||
* 图层缩放大小
|
||||
*/
|
||||
@ApiModelProperty(value = "图层缩放大小")
|
||||
private String scale;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private Long userId;
|
||||
/**
|
||||
* 图层优先级
|
||||
*/
|
||||
@ApiModelProperty(value = "图层优先级")
|
||||
private Integer priority;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createDate;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updateDate;
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("trial_order")
|
||||
public class TrialOrder implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("surname")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty("surname")
|
||||
private String surname;
|
||||
|
||||
@ApiModelProperty("givenName")
|
||||
private String givenName;
|
||||
|
||||
@ApiModelProperty("userName")
|
||||
private String userName;
|
||||
|
||||
@ApiModelProperty("email")
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty("country")
|
||||
private String country;
|
||||
|
||||
@ApiModelProperty("occupation")
|
||||
private String occupation;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
|
||||
/**
|
||||
* 0待审评
|
||||
* 1通过
|
||||
* 2拒绝
|
||||
*/
|
||||
private Integer status;
|
||||
private Integer isDeleted;
|
||||
}
|
||||
62
src/main/java/com/ai/da/mapper/primary/entity/UserLike.java
Normal file
62
src/main/java/com/ai/da/mapper/primary/entity/UserLike.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package com.ai.da.mapper.primary.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;
|
||||
|
||||
/**
|
||||
* UserLikeGroup
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_user_like")
|
||||
public class UserLike implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 关联的用户收藏分组 ID
|
||||
*/
|
||||
private Long userLikeGroupId;
|
||||
/**
|
||||
* 关联的design ID
|
||||
*/
|
||||
private Long designId;
|
||||
/**
|
||||
* 关联的design_item ID
|
||||
*/
|
||||
private Long designItemId;
|
||||
/**
|
||||
* 关联的design_python_outfit ID
|
||||
*/
|
||||
private Long designOutfitId;
|
||||
/**
|
||||
* 图片地址
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.ai.da.mapper.primary.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;
|
||||
|
||||
/**
|
||||
* UserLikeGroup
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("t_user_like_group")
|
||||
public class UserLikeGroup implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long accountId;
|
||||
/**
|
||||
* collectionId
|
||||
*/
|
||||
private Long collectionId;
|
||||
|
||||
/**
|
||||
* 用户收藏分组表
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
96
src/main/java/com/ai/da/mapper/primary/entity/Workspace.java
Normal file
96
src/main/java/com/ai/da/mapper/primary/entity/Workspace.java
Normal file
@@ -0,0 +1,96 @@
|
||||
|
||||
package com.ai.da.mapper.primary.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* 实体类
|
||||
*
|
||||
* @author SHAHAIBO
|
||||
* @since 2023-08-01
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "Workspace对象", description = "Workspace对象")
|
||||
@TableName("workspace")
|
||||
public class Workspace implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@ApiModelProperty(value = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 工作空间名称
|
||||
*/
|
||||
@ApiModelProperty(value = "工作空间名称")
|
||||
private String workSpaceName;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private String userName;
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
@ApiModelProperty(value = "性别")
|
||||
private String sex;
|
||||
/**
|
||||
* 服装部位
|
||||
*/
|
||||
@ApiModelProperty(value = "服装部位")
|
||||
private String position;
|
||||
/**
|
||||
* SYSTEM_DESIGNER占比
|
||||
*/
|
||||
@ApiModelProperty(value = "SYSTEM_DESIGNER占比")
|
||||
private Integer systemDesignerPercentage;
|
||||
/**
|
||||
* 人体模型
|
||||
*/
|
||||
@ApiModelProperty(value = "人体模型ID")
|
||||
private Long mannequinFemaleId;
|
||||
private Long mannequinMaleId;
|
||||
private Long mannequinChildId;
|
||||
/**
|
||||
* 人体模型
|
||||
*/
|
||||
@ApiModelProperty(value = "人体模型类型")
|
||||
private String mannequinFemaleType;
|
||||
private String mannequinMaleType;
|
||||
private String mannequinChildType;
|
||||
/**
|
||||
* 最后使用的工作空间标识
|
||||
*/
|
||||
@ApiModelProperty(value = "最后使用的工作空间标识")
|
||||
private Integer isLastIndex;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@TableLogic
|
||||
@ApiModelProperty(value = "是否删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user