当前位置: 首页 > news >正文

1.创建实体类UserInfo

1.创建实体类UserInfo

 

image

数据库表中存放多条记录,在表名后加s表示是个集合

实体类表示一条记录(对象),实体类名不加s