new prescript
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@TableName("prescript_category")
|
||||
public class PrescriptCategoryEntity {
|
||||
@@ -18,6 +18,10 @@ public class PrescriptCategoryEntity {
|
||||
|
||||
private Integer sort;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<PrescriptCategoryEntity> children;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
@@ -26,7 +23,7 @@ public class PrescriptEntity {
|
||||
|
||||
private String doseNow;
|
||||
|
||||
private String usage;
|
||||
private String preUsage;
|
||||
|
||||
private String preSong;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user