TASK:AiDA模块化
This commit is contained in:
@@ -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.BrandDNA;
|
||||
|
||||
public interface BrandDNAMapper extends CommonMapper<BrandDNA> {
|
||||
}
|
||||
@@ -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.BrandRelLibrary;
|
||||
|
||||
public interface BrandRelLibraryMapper extends CommonMapper<BrandRelLibrary> {
|
||||
}
|
||||
37
src/main/java/com/ai/da/mapper/primary/entity/BrandDNA.java
Normal file
37
src/main/java/com/ai/da/mapper/primary/entity/BrandDNA.java
Normal file
@@ -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 lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName("brand")
|
||||
public class BrandDNA implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private Long accountId;
|
||||
|
||||
private String brandName;
|
||||
|
||||
private String brandSlogan;
|
||||
|
||||
private String brandLogo;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
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.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName("brand_rel_library")
|
||||
public class BrandRelLibrary implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private Long brandId;
|
||||
private Long libraryId;
|
||||
|
||||
}
|
||||
@@ -98,7 +98,7 @@ public class DesignItemDetail implements Serializable {
|
||||
/**
|
||||
* 局部design 只会有一张图
|
||||
*/
|
||||
private String partialDesign;
|
||||
// private String partialDesign;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
|
||||
Reference in New Issue
Block a user