package entities;

import lombok.Data;

//用户类
@Data
public class Users {
    private Long id;//主键，用户ID
    private String name;//用户姓名
    private String phoneNumber;//用户联系方式
    private String address;//家庭住址
    private String password;//用户密码

    public Users() {

    }

    public Users(String name, String phoneNumber,
                 String address, String password) {
        this.name = name;
        this.phoneNumber = phoneNumber;
        this.address = address;
        this.password = password;
    }
}
