finikes преди 2 години
родител
ревизия
7211ffc1d5

+ 48 - 0
src/main/java/com/finikes/oc/base/entity/Notice.java

@@ -10,4 +10,52 @@ public class Notice {
     private String secondTitle; // 副标题
     private String content; // 内容
     private long publishTime; // 发布时间
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    public String getSecondTitle() {
+        return secondTitle;
+    }
+
+    public void setSecondTitle(String secondTitle) {
+        this.secondTitle = secondTitle;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public long getPublishTime() {
+        return publishTime;
+    }
+
+    public void setPublishTime(long publishTime) {
+        this.publishTime = publishTime;
+    }
+
+    public int getId() {
+        return id;
+    }
+
+    public void setId(int id) {
+        this.id = id;
+    }
 }

+ 24 - 0
src/main/java/com/finikes/oc/base/entity/Passport.java

@@ -7,4 +7,28 @@ public class Passport {
 	private int id;
 	private String mobile; // 手机号码
 	private String password; // 密码
+
+	public int getId() {
+		return id;
+	}
+
+	public void setId(int id) {
+		this.id = id;
+	}
+
+	public String getMobile() {
+		return mobile;
+	}
+
+	public void setMobile(String mobile) {
+		this.mobile = mobile;
+	}
+
+	public String getPassword() {
+		return password;
+	}
+
+	public void setPassword(String password) {
+		this.password = password;
+	}
 }

+ 48 - 0
src/main/java/com/finikes/oc/estate/entity/EstateUnit.java

@@ -10,4 +10,52 @@ public class EstateUnit {
 	private String name; // 名称
 	private String exp; // 扩展名
 	private boolean leaf; // 是否是叶节点
+
+	public int getId() {
+		return id;
+	}
+
+	public void setId(int id) {
+		this.id = id;
+	}
+
+	public int getParentId() {
+		return parentId;
+	}
+
+	public void setParentId(int parentId) {
+		this.parentId = parentId;
+	}
+
+	public int getLevel() {
+		return level;
+	}
+
+	public void setLevel(int level) {
+		this.level = level;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public String getExp() {
+		return exp;
+	}
+
+	public void setExp(String exp) {
+		this.exp = exp;
+	}
+
+	public boolean isLeaf() {
+		return leaf;
+	}
+
+	public void setLeaf(boolean leaf) {
+		this.leaf = leaf;
+	}
 }

+ 40 - 0
src/main/java/com/finikes/oc/estate/entity/House.java

@@ -9,4 +9,44 @@ public class House {
 	private String name; // 名称
 	private float area; // 面积
 	private String function; // 使用性质
+
+	public int getUnitId() {
+		return unitId;
+	}
+
+	public void setUnitId(int unitId) {
+		this.unitId = unitId;
+	}
+
+	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 float getArea() {
+		return area;
+	}
+
+	public void setArea(float area) {
+		this.area = area;
+	}
+
+	public String getFunction() {
+		return function;
+	}
+
+	public void setFunction(String function) {
+		this.function = function;
+	}
 }

+ 24 - 0
src/main/java/com/finikes/oc/management/entity/Authority.java

@@ -7,4 +7,28 @@ public class Authority {
 	private int roleId; // 角色ID
 	private int resourceId; // 资源ID
 	private boolean state; // 状态
+
+	public int getRoleId() {
+		return roleId;
+	}
+
+	public void setRoleId(int roleId) {
+		this.roleId = roleId;
+	}
+
+	public int getResourceId() {
+		return resourceId;
+	}
+
+	public void setResourceId(int resourceId) {
+		this.resourceId = resourceId;
+	}
+
+	public boolean isState() {
+		return state;
+	}
+
+	public void setState(boolean state) {
+		this.state = state;
+	}
 }

+ 24 - 0
src/main/java/com/finikes/oc/management/entity/HouseRelation.java

@@ -7,4 +7,28 @@ public class HouseRelation {
 	private int passportId; // 账号ID
 	private String certificateNo; // 房产证号码
 	private String certificateUrl; // 房产证图片地址(相对)
+
+	public int getPassportId() {
+		return passportId;
+	}
+
+	public void setPassportId(int passportId) {
+		this.passportId = passportId;
+	}
+
+	public String getCertificateNo() {
+		return certificateNo;
+	}
+
+	public void setCertificateNo(String certificateNo) {
+		this.certificateNo = certificateNo;
+	}
+
+	public String getCertificateUrl() {
+		return certificateUrl;
+	}
+
+	public void setCertificateUrl(String certificateUrl) {
+		this.certificateUrl = certificateUrl;
+	}
 }

+ 16 - 0
src/main/java/com/finikes/oc/management/entity/Manager.java

@@ -6,4 +6,20 @@ package com.finikes.oc.management.entity;
 public class Manager {
 	private int passportId; // 账号ID
 	private int roleId; // 角色ID
+
+	public int getPassportId() {
+		return passportId;
+	}
+
+	public void setPassportId(int passportId) {
+		this.passportId = passportId;
+	}
+
+	public int getRoleId() {
+		return roleId;
+	}
+
+	public void setRoleId(int roleId) {
+		this.roleId = roleId;
+	}
 }

+ 24 - 0
src/main/java/com/finikes/oc/management/entity/Resource.java

@@ -7,4 +7,28 @@ public class Resource {
 	private int id;
 	private String url; // url
 	private String httpMethod; // http方法
+
+	public int getId() {
+		return id;
+	}
+
+	public void setId(int id) {
+		this.id = id;
+	}
+
+	public String getUrl() {
+		return url;
+	}
+
+	public void setUrl(String url) {
+		this.url = url;
+	}
+
+	public String getHttpMethod() {
+		return httpMethod;
+	}
+
+	public void setHttpMethod(String httpMethod) {
+		this.httpMethod = httpMethod;
+	}
 }

+ 16 - 0
src/main/java/com/finikes/oc/management/entity/Role.java

@@ -6,4 +6,20 @@ package com.finikes.oc.management.entity;
 public class Role {
 	private int id;
 	private String name; // 角色名
+
+	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;
+	}
 }

+ 48 - 0
src/main/java/com/finikes/oc/vote/entity/Choice.java

@@ -10,4 +10,52 @@ public class Choice {
 	private long chooseTime; // 选择的时间
 	private boolean proxy; // 是否代理投票
 	private int assigneeId; // 代理者ID
+
+	public long getId() {
+		return id;
+	}
+
+	public void setId(long id) {
+		this.id = id;
+	}
+
+	public int getOptionId() {
+		return optionId;
+	}
+
+	public void setOptionId(int optionId) {
+		this.optionId = optionId;
+	}
+
+	public int getPassportId() {
+		return passportId;
+	}
+
+	public void setPassportId(int passportId) {
+		this.passportId = passportId;
+	}
+
+	public long getChooseTime() {
+		return chooseTime;
+	}
+
+	public void setChooseTime(long chooseTime) {
+		this.chooseTime = chooseTime;
+	}
+
+	public boolean isProxy() {
+		return proxy;
+	}
+
+	public void setProxy(boolean proxy) {
+		this.proxy = proxy;
+	}
+
+	public int getAssigneeId() {
+		return assigneeId;
+	}
+
+	public void setAssigneeId(int assigneeId) {
+		this.assigneeId = assigneeId;
+	}
 }

+ 24 - 0
src/main/java/com/finikes/oc/vote/entity/Option.java

@@ -7,4 +7,28 @@ public class Option {
     private int id;
     private String value; // 选项值
     private int voteId; // 从属于哪个投票
+
+    public int getId() {
+        return id;
+    }
+
+    public void setId(int id) {
+        this.id = id;
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    public int getVoteId() {
+        return voteId;
+    }
+
+    public void setVoteId(int voteId) {
+        this.voteId = voteId;
+    }
 }

+ 40 - 0
src/main/java/com/finikes/oc/vote/entity/Vote.java

@@ -9,4 +9,44 @@ public class Vote {
 	private int sequence; // 排序
 	private String title; // 标题
 	private String content; // 内容
+
+	public int getId() {
+		return id;
+	}
+
+	public void setId(int id) {
+		this.id = id;
+	}
+
+	public int getActivityId() {
+		return activityId;
+	}
+
+	public void setActivityId(int activityId) {
+		this.activityId = activityId;
+	}
+
+	public int getSequence() {
+		return sequence;
+	}
+
+	public void setSequence(int sequence) {
+		this.sequence = sequence;
+	}
+
+	public String getTitle() {
+		return title;
+	}
+
+	public void setTitle(String title) {
+		this.title = title;
+	}
+
+	public String getContent() {
+		return content;
+	}
+
+	public void setContent(String content) {
+		this.content = content;
+	}
 }

+ 40 - 0
src/main/java/com/finikes/oc/vote/entity/VoteActivity.java

@@ -9,4 +9,44 @@ public class VoteActivity {
 	private String content; // 内容
 	private long startTime; // 开始时间
 	private long endTime; // 结束时间
+
+	public int getId() {
+		return id;
+	}
+
+	public void setId(int id) {
+		this.id = id;
+	}
+
+	public String getTitle() {
+		return title;
+	}
+
+	public void setTitle(String title) {
+		this.title = title;
+	}
+
+	public String getContent() {
+		return content;
+	}
+
+	public void setContent(String content) {
+		this.content = content;
+	}
+
+	public long getStartTime() {
+		return startTime;
+	}
+
+	public void setStartTime(long startTime) {
+		this.startTime = startTime;
+	}
+
+	public long getEndTime() {
+		return endTime;
+	}
+
+	public void setEndTime(long endTime) {
+		this.endTime = endTime;
+	}
 }