修改用户实体类

This commit is contained in:
muhua 2024-07-14 09:49:07 +08:00
parent 4d1d1d053e
commit 89f50759be
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.annotation.Nullable;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
@ -47,6 +48,7 @@ public class User implements Serializable {
/** /**
* 用户地址 * 用户地址
*/ */
@Nullable
private String address; private String address;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;