新增user服务和gateway服务

This commit is contained in:
jiangh277
2025-08-12 19:01:26 +08:00
parent 957462b60b
commit aa42f35254
29 changed files with 1047 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
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;
}