wip(sj_1.1.0-beta1): SystemUser使用自动填充功能,解决MySQL ON UPDATE特性依赖

This commit is contained in:
dhb52 2024-06-16 23:37:33 +08:00
parent 14342e8929
commit 88b657ba4d

View File

@ -16,9 +16,7 @@ import java.time.LocalDateTime;
*/
@Data
@TableName("sj_system_user")
public class SystemUser implements Serializable {
private static final long serialVersionUID = 1L;
public class SystemUser extends CreateUpdateDt {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@ -29,8 +27,4 @@ public class SystemUser implements Serializable {
private Integer role;
private LocalDateTime createDt;
private LocalDateTime updateDt;
}