mybatis-plus
This commit is contained in:
16
src/main/java/com/dota/nexus/entity/Entity.java
Normal file
16
src/main/java/com/dota/nexus/entity/Entity.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.dota.nexus.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class Entity {
|
||||
Integer id;
|
||||
|
||||
Integer status;
|
||||
|
||||
LocalDateTime createTime;
|
||||
|
||||
LocalDateTime updateTime;
|
||||
}
|
||||
14
src/main/java/com/dota/nexus/entity/Goal.java
Normal file
14
src/main/java/com/dota/nexus/entity/Goal.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.dota.nexus.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class Goal extends Entity {
|
||||
private String name;
|
||||
|
||||
private String tag;
|
||||
|
||||
private String detail;
|
||||
}
|
||||
Reference in New Issue
Block a user