package com.example.demo.entity;
public class Admin {
private int id;
private String name;
private String pass;
private String head;
private int follow;
private int notices;
private int blogs;
private String phone;
public Admin() { }
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPass() {
return pass;
}
public void setPass(String pass) {
this.pass = pass;
}
public String getHead() {
return head;
}
public void setHead(String head) {
this.head = head;
}
public int getFollow() {
return follow;
}
public void setFollow(int follow) {
this.follow = follow;
}
public int getNotices() {
return notices;
}
public void setNotices(int notices) {
this.notices = notices;
}
public int getBlogs() {
return blogs;
}
public void setBlogs(int blogs) {
this.blogs = blogs;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
@Override
public String toString() {
return "Admin [> follow
+ ", notices=" + notices + ", blogs=" + blogs + ", phone=" + phone + "]";
}
}