TASK:aida;
This commit is contained in:
@@ -27,6 +27,6 @@ public interface AccountMapper extends CommonMapper<Account> {
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
Account findById(String id);
|
||||
// Account findById(String id);
|
||||
|
||||
}
|
||||
|
||||
@@ -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.Comment;
|
||||
|
||||
public interface CommentMapper extends CommonMapper<Comment> {
|
||||
}
|
||||
@@ -86,4 +86,6 @@ public class Account implements Serializable {
|
||||
* 积分
|
||||
*/
|
||||
private BigDecimal credits;
|
||||
|
||||
private Integer SystemUser;
|
||||
}
|
||||
|
||||
38
src/main/java/com/ai/da/mapper/primary/entity/Comment.java
Normal file
38
src/main/java/com/ai/da/mapper/primary/entity/Comment.java
Normal file
@@ -0,0 +1,38 @@
|
||||
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.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("comment")
|
||||
public class Comment implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private Long portfolioId;
|
||||
|
||||
private Long accountId;
|
||||
|
||||
private String comment;
|
||||
|
||||
// 一级父节点ID
|
||||
private Long parentLevel1Id;
|
||||
|
||||
// 二级父节点ID
|
||||
private Long parentLevel2Id;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
private Integer isDeleted;
|
||||
}
|
||||
Reference in New Issue
Block a user