mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 10:13:28 +08:00
解决代码生成器生成代码ide提示warning
Warning:(18, 1) java: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
This commit is contained in:
parent
d40667a798
commit
0d30773492
@ -28,6 +28,7 @@ import com.ruoyi.common.core.domain.TreeEntity;
|
||||
#set($Entity="TreeEntity<${ClassName}>")
|
||||
#end
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("${tableName}")
|
||||
public class ${ClassName} extends ${Entity} {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user