diff --git a/Admin.java b/Admin.java new file mode 100644 index 0000000..0fd34ba --- /dev/null +++ b/Admin.java @@ -0,0 +1,62 @@ +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; + } +} \ No newline at end of file