wip(sj_1.1.0-beta1): SystemUser使用自动填充功能,解决MySQL ON UPDATE特性依赖
This commit is contained in:
parent
14342e8929
commit
88b657ba4d
@ -16,9 +16,7 @@ import java.time.LocalDateTime;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@TableName("sj_system_user")
|
@TableName("sj_system_user")
|
||||||
public class SystemUser implements Serializable {
|
public class SystemUser extends CreateUpdateDt {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableId(value = "id", type = IdType.AUTO)
|
@TableId(value = "id", type = IdType.AUTO)
|
||||||
private Long id;
|
private Long id;
|
||||||
@ -29,8 +27,4 @@ public class SystemUser implements Serializable {
|
|||||||
|
|
||||||
private Integer role;
|
private Integer role;
|
||||||
|
|
||||||
private LocalDateTime createDt;
|
|
||||||
|
|
||||||
private LocalDateTime updateDt;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user