You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
773 B
29 lines
773 B
package com.example.demo.domain.entity;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
public class User {
|
|
private Integer userId;
|
|
private String name;
|
|
private String jwcode;
|
|
private String password;
|
|
private String phone;
|
|
private String email;
|
|
private String gender;
|
|
private Date birthday;
|
|
private String head;
|
|
private Integer UserFlag;
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
private Date createTime;
|
|
private String signature;
|
|
private BigDecimal sumgold;
|
|
}
|