first version of aida_back
This commit is contained in:
17
src/main/java/com/ai/da/mapper/AccountLoginLogMapper.java
Normal file
17
src/main/java/com/ai/da/mapper/AccountLoginLogMapper.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Account;
|
||||
import com.ai.da.mapper.entity.AccountLoginLog;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface AccountLoginLogMapper extends CommonMapper<AccountLoginLog> {
|
||||
|
||||
}
|
||||
32
src/main/java/com/ai/da/mapper/AccountMapper.java
Normal file
32
src/main/java/com/ai/da/mapper/AccountMapper.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.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);
|
||||
|
||||
}
|
||||
16
src/main/java/com/ai/da/mapper/CollectionElementMapper.java
Normal file
16
src/main/java/com/ai/da/mapper/CollectionElementMapper.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.CollectionElement;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author yanglei
|
||||
* @since 2022-10-13
|
||||
*/
|
||||
public interface CollectionElementMapper extends CommonMapper<CollectionElement> {
|
||||
|
||||
}
|
||||
18
src/main/java/com/ai/da/mapper/CollectionMapper.java
Normal file
18
src/main/java/com/ai/da/mapper/CollectionMapper.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Account;
|
||||
import com.ai.da.mapper.entity.Collection;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface CollectionMapper extends CommonMapper<Collection> {
|
||||
//返回插入数据后生成的主键
|
||||
Long insertCollection(Collection collection);
|
||||
}
|
||||
14
src/main/java/com/ai/da/mapper/ColorLoopUpTableMapper.java
Normal file
14
src/main/java/com/ai/da/mapper/ColorLoopUpTableMapper.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.ColorLookupTable;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-09-30
|
||||
*/
|
||||
public interface ColorLoopUpTableMapper extends CommonMapper<ColorLookupTable> {
|
||||
|
||||
}
|
||||
15
src/main/java/com/ai/da/mapper/DesignHistoryMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/DesignHistoryMapper.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.AccountLoginLog;
|
||||
import com.ai.da.mapper.entity.DesignHistory;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignHistoryMapper extends CommonMapper<DesignHistory> {
|
||||
|
||||
}
|
||||
15
src/main/java/com/ai/da/mapper/DesignItemDetailMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/DesignItemDetailMapper.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.DesignItem;
|
||||
import com.ai.da.mapper.entity.DesignItemDetail;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignItemDetailMapper extends CommonMapper<DesignItemDetail> {
|
||||
|
||||
}
|
||||
16
src/main/java/com/ai/da/mapper/DesignItemMapper.java
Normal file
16
src/main/java/com/ai/da/mapper/DesignItemMapper.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Design;
|
||||
import com.ai.da.mapper.entity.DesignItem;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignItemMapper extends CommonMapper<DesignItem> {
|
||||
|
||||
Long insertDesignItem(DesignItem designItem);
|
||||
}
|
||||
17
src/main/java/com/ai/da/mapper/DesignMapper.java
Normal file
17
src/main/java/com/ai/da/mapper/DesignMapper.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Collection;
|
||||
import com.ai.da.mapper.entity.Design;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface DesignMapper extends CommonMapper<Design> {
|
||||
|
||||
//返回插入数据后生成的主键
|
||||
Long insertDesign(Design design);
|
||||
}
|
||||
15
src/main/java/com/ai/da/mapper/LibraryMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/LibraryMapper.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.Design;
|
||||
import com.ai.da.mapper.entity.Library;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface LibraryMapper extends CommonMapper<Library> {
|
||||
|
||||
}
|
||||
15
src/main/java/com/ai/da/mapper/LibraryModelPointMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/LibraryModelPointMapper.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.LibraryModelPoint;
|
||||
import com.ai.da.mapper.entity.SysFile;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-11-11
|
||||
*/
|
||||
public interface LibraryModelPointMapper extends CommonMapper<LibraryModelPoint> {
|
||||
|
||||
}
|
||||
20
src/main/java/com/ai/da/mapper/PanToneMapper.java
Normal file
20
src/main/java/com/ai/da/mapper/PanToneMapper.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.PanTone;
|
||||
import com.ai.da.model.dto.GetRgbByHsvBatchDTO;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
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);
|
||||
}
|
||||
15
src/main/java/com/ai/da/mapper/SysFileMapper.java
Normal file
15
src/main/java/com/ai/da/mapper/SysFileMapper.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.Design;
|
||||
import com.ai.da.mapper.entity.SysFile;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-10-6
|
||||
*/
|
||||
public interface SysFileMapper extends CommonMapper<SysFile> {
|
||||
|
||||
}
|
||||
16
src/main/java/com/ai/da/mapper/UserLikeGroupMapper.java
Normal file
16
src/main/java/com/ai/da/mapper/UserLikeGroupMapper.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.Design;
|
||||
import com.ai.da.mapper.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/UserLikeMapper.java
Normal file
14
src/main/java/com/ai/da/mapper/UserLikeMapper.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.ai.da.mapper;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.entity.UserLike;
|
||||
|
||||
/**
|
||||
* Mapper 接口
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-06-13
|
||||
*/
|
||||
public interface UserLikeMapper extends CommonMapper<UserLike> {
|
||||
|
||||
}
|
||||
67
src/main/java/com/ai/da/mapper/entity/Account.java
Normal file
67
src/main/java/com/ai/da/mapper/entity/Account.java
Normal file
@@ -0,0 +1,67 @@
|
||||
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_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 Long validStartTime;
|
||||
|
||||
/**
|
||||
* 账户有效期结束时间
|
||||
*/
|
||||
private Long validEndTime;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
53
src/main/java/com/ai/da/mapper/entity/AccountLoginLog.java
Normal file
53
src/main/java/com/ai/da/mapper/entity/AccountLoginLog.java
Normal file
@@ -0,0 +1,53 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* 账户登入日志
|
||||
*
|
||||
* @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;
|
||||
|
||||
}
|
||||
54
src/main/java/com/ai/da/mapper/entity/Collection.java
Normal file
54
src/main/java/com/ai/da/mapper/entity/Collection.java
Normal file
@@ -0,0 +1,54 @@
|
||||
package com.ai.da.mapper.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")
|
||||
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;
|
||||
}
|
||||
86
src/main/java/com/ai/da/mapper/entity/CollectionElement.java
Normal file
86
src/main/java/com/ai/da/mapper/entity/CollectionElement.java
Normal file
@@ -0,0 +1,86 @@
|
||||
package com.ai.da.mapper.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 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;
|
||||
}
|
||||
35
src/main/java/com/ai/da/mapper/entity/ColorLookupTable.java
Normal file
35
src/main/java/com/ai/da/mapper/entity/ColorLookupTable.java
Normal file
@@ -0,0 +1,35 @@
|
||||
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-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;
|
||||
}
|
||||
71
src/main/java/com/ai/da/mapper/entity/Design.java
Normal file
71
src/main/java/com/ai/da/mapper/entity/Design.java
Normal file
@@ -0,0 +1,71 @@
|
||||
package com.ai.da.mapper.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.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;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
56
src/main/java/com/ai/da/mapper/entity/DesignHistory.java
Normal file
56
src/main/java/com/ai/da/mapper/entity/DesignHistory.java
Normal file
@@ -0,0 +1,56 @@
|
||||
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_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;
|
||||
}
|
||||
75
src/main/java/com/ai/da/mapper/entity/DesignItem.java
Normal file
75
src/main/java/com/ai/da/mapper/entity/DesignItem.java
Normal file
@@ -0,0 +1,75 @@
|
||||
package com.ai.da.mapper.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;
|
||||
}
|
||||
96
src/main/java/com/ai/da/mapper/entity/DesignItemDetail.java
Normal file
96
src/main/java/com/ai/da/mapper/entity/DesignItemDetail.java
Normal file
@@ -0,0 +1,96 @@
|
||||
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_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;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
81
src/main/java/com/ai/da/mapper/entity/Library.java
Normal file
81
src/main/java/com/ai/da/mapper/entity/Library.java
Normal file
@@ -0,0 +1,81 @@
|
||||
package com.ai.da.mapper.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_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 name;
|
||||
|
||||
/**
|
||||
* 元素存放地址
|
||||
*/
|
||||
private String url;
|
||||
/**
|
||||
* md5值
|
||||
*/
|
||||
private String md5;
|
||||
/**
|
||||
* 图片高度,目前只争对 models类型
|
||||
*/
|
||||
private Integer high;
|
||||
/**
|
||||
* 图片宽度,目前只争对 models类型
|
||||
*/
|
||||
private Integer width;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
76
src/main/java/com/ai/da/mapper/entity/LibraryModelPoint.java
Normal file
76
src/main/java/com/ai/da/mapper/entity/LibraryModelPoint.java
Normal file
@@ -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")
|
||||
public class LibraryModelPoint implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 关联的 libraryId
|
||||
*/
|
||||
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;
|
||||
}
|
||||
71
src/main/java/com/ai/da/mapper/entity/PanTone.java
Normal file
71
src/main/java/com/ai/da/mapper/entity/PanTone.java
Normal file
@@ -0,0 +1,71 @@
|
||||
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("pantone")
|
||||
public class PanTone implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
69
src/main/java/com/ai/da/mapper/entity/SysFile.java
Normal file
69
src/main/java/com/ai/da/mapper/entity/SysFile.java
Normal file
@@ -0,0 +1,69 @@
|
||||
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_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 name;
|
||||
|
||||
/**
|
||||
* md5值
|
||||
*
|
||||
*/
|
||||
private String md5;
|
||||
/**
|
||||
* 路径 绝对路径
|
||||
*
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
58
src/main/java/com/ai/da/mapper/entity/UserLike.java
Normal file
58
src/main/java/com/ai/da/mapper/entity/UserLike.java
Normal file
@@ -0,0 +1,58 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
/**
|
||||
* 图片地址
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateDate;
|
||||
}
|
||||
55
src/main/java/com/ai/da/mapper/entity/UserLikeGroup.java
Normal file
55
src/main/java/com/ai/da/mapper/entity/UserLikeGroup.java
Normal file
@@ -0,0 +1,55 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
Reference in New Issue
Block a user