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.
62 lines
1023 B
62 lines
1023 B
5 months ago
|
package com.example.meal_ordering_system.entity;
|
||
|
|
||
|
import lombok.AllArgsConstructor;
|
||
|
import lombok.Data;
|
||
|
import lombok.NoArgsConstructor;
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
public class Admin {
|
||
|
|
||
|
private Integer id;
|
||
|
|
||
|
private String name;
|
||
|
|
||
|
private String pwd;
|
||
|
|
||
|
private String authority;
|
||
|
|
||
|
public Admin() {
|
||
|
}
|
||
|
|
||
|
public Admin(Integer id, String name, String pwd, String authority) {
|
||
|
this.id = id;
|
||
|
this.name = name;
|
||
|
this.pwd = pwd;
|
||
|
this.authority = authority;
|
||
|
}
|
||
|
|
||
|
public Integer getId() {
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
public void setId(Integer id) {
|
||
|
this.id = id;
|
||
|
}
|
||
|
|
||
|
public String getName() {
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
public void setName(String name) {
|
||
|
this.name = name;
|
||
|
}
|
||
|
|
||
|
public String getPwd() {
|
||
|
return pwd;
|
||
|
}
|
||
|
|
||
|
public void setPwd(String pwd) {
|
||
|
this.pwd = pwd;
|
||
|
}
|
||
|
|
||
|
public String getAuthority() {
|
||
|
return authority;
|
||
|
}
|
||
|
|
||
|
public void setAuthority(String authority) {
|
||
|
this.authority = authority;
|
||
|
}
|
||
|
}
|