Files
timeline-server/timeline-user-service/src/main/java/com/timeline/user/entity/User.java

23 lines
640 B
Java
Raw Normal View History

2025-08-12 19:01:26 +08:00
package com.timeline.user.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;
@Data
public class User {
private Long id;
private String userId;
private String username;
private String password;
private String nickname;
private String email;
private String phone;
private Integer status; // 0-正常1-禁用
private Integer isDeleted; // 0-未删除1-已删除
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateTime;
}