从会员表中查询"昵称"
imooc-reader 项目:
.entity.
Member 会员实体类
package com.tony.reader.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
/**
* 会员实体类
*/
@TableName("member")
public class Member {
@TableId(type = IdType.AUTO)
private Long memberId;//会员ID
private String username;
private String password;
private Integer salt;//月薪
private Date createTime;//创建时间
private String nickname;//昵称
public Long getMemberId() {
return memberId;
}
public void setMemberId(Long memberId) {
this.memberId = memberId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public Integer getSalt() {
return salt;
}
public void setSalt(Integer salt) {
this.