From d2f66ab749b7ec0cc0e09894f9a7cbaad3a2ea23 Mon Sep 17 00:00:00 2001 From: pl2pr4fij <1085313231@qq.com> Date: Fri, 28 Jun 2024 21:07:07 +0800 Subject: [PATCH] ADD file via upload --- Admin.java | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Admin.java 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