diff --git a/code/Authority.java b/code/Authority.java new file mode 100644 index 0000000..daf75f7 --- /dev/null +++ b/code/Authority.java @@ -0,0 +1,79 @@ +package com.domain; + +public class Authority { + + private int cid; + private String uid; + private String iid; + private String profession; + private String company; + private byte[] picture; + private int apass; + public Authority() {} + public Authority(int cid, String uid, String iid, String profession,String company, byte[] picture,int apass) { + this.cid = cid; + this.uid = uid; + this.iid = iid; + this.profession = profession; + this.company = company; + this.picture = picture; + this.apass = apass; + } + + + public int getCid() { + return cid; + } + + public void setCid(int cid) { + this.cid = cid; + } + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } + + public String getIid() { + return iid; + } + + public void setIid(String iid) { + this.iid=iid; + } + + public String getProfession() { + return profession; + } + + public void setProfession(String profession) { + this.profession=profession; + } + + public String getCompany() { + return company; + } + + public void setCompany(String company) { + this.company = company; + } + + public byte[] getPicture() { + return picture; + } + + public void setPicture(byte[] picture) { + this.picture = picture; + } + + public int getApass() { + return apass; + } + + public void setApass(int apass) { + this.apass = apass; + } +} \ No newline at end of file