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.
test1/pojo/User.java

28 lines
566 B

package club.pojo;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;
import java.util.List;
@Data
public class User {
// 定义用户类
private Integer id;
private String userName;
private String password;
private String sex;
private Integer age;
private String telephone;
private String Email;
private String address;
private String pic;
private Integer state;
@TableField(exist = false)
List<Comment> commentList;
@TableField(exist = false)
List<AdoptAnimal> animalList;
}