parent
c8cb4cce96
commit
6449dc5627
@ -0,0 +1,42 @@
|
|||||||
|
package com.cya.entity;
|
||||||
|
|
||||||
|
import java.sql.Date;
|
||||||
|
|
||||||
|
public class Notice {
|
||||||
|
|
||||||
|
private int noticeId;
|
||||||
|
private Date date;
|
||||||
|
private String noticePerson;
|
||||||
|
private String content;
|
||||||
|
public int getNoticeId() {
|
||||||
|
return noticeId;
|
||||||
|
}
|
||||||
|
public void setNoticeId(int noticeId) {
|
||||||
|
this.noticeId = noticeId;
|
||||||
|
}
|
||||||
|
public Date getDate() {
|
||||||
|
return date;
|
||||||
|
}
|
||||||
|
public void setDate(Date date) {
|
||||||
|
this.date = date;
|
||||||
|
}
|
||||||
|
public String getNoticePerson() {
|
||||||
|
return noticePerson;
|
||||||
|
}
|
||||||
|
public void setNoticePerson(String noticePerson) {
|
||||||
|
this.noticePerson = noticePerson;
|
||||||
|
}
|
||||||
|
public String getContent() {
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "Notice [noticeId=" + noticeId + ", date=" + date + ", noticePerson=" + noticePerson + ", content="
|
||||||
|
+ content + "]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
package com.cya.entity;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class PageResult implements Serializable{
|
||||||
|
|
||||||
|
private long total; //总记录数
|
||||||
|
private List rows; //当前页面结果(当前要现实的数据)
|
||||||
|
|
||||||
|
public PageResult(long total,List rows) {
|
||||||
|
this.total=total;
|
||||||
|
this.rows=rows;
|
||||||
|
}
|
||||||
|
public long getTotal() {
|
||||||
|
return total;
|
||||||
|
}
|
||||||
|
public void setTotal(long total) {
|
||||||
|
this.total = total;
|
||||||
|
}
|
||||||
|
public List getRows() {
|
||||||
|
return rows;
|
||||||
|
}
|
||||||
|
public void setRows(List rows) {
|
||||||
|
this.rows = rows;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
package com.cya.entity;
|
||||||
|
/**
|
||||||
|
* 打卡
|
||||||
|
* @author 公众号【C you again】
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
import java.sql.Date;
|
||||||
|
|
||||||
|
import javax.xml.soap.Detail;
|
||||||
|
|
||||||
|
public class PunchClock {
|
||||||
|
private String id; //打卡记录
|
||||||
|
private String theme; //打卡主题
|
||||||
|
private String detail; //说明
|
||||||
|
private Date date;
|
||||||
|
private String person; //发起人
|
||||||
|
public String getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setId(String id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
public String getTheme() {
|
||||||
|
return theme;
|
||||||
|
}
|
||||||
|
public void setTheme(String theme) {
|
||||||
|
this.theme = theme;
|
||||||
|
}
|
||||||
|
public String getDetail() {
|
||||||
|
return detail;
|
||||||
|
}
|
||||||
|
public void setDetail(String detail) {
|
||||||
|
this.detail = detail;
|
||||||
|
}
|
||||||
|
public Date getDate() {
|
||||||
|
return date;
|
||||||
|
}
|
||||||
|
public void setDate(Date date) {
|
||||||
|
this.date = date;
|
||||||
|
}
|
||||||
|
public String getPerson() {
|
||||||
|
return person;
|
||||||
|
}
|
||||||
|
public void setPerson(String person) {
|
||||||
|
this.person = person;
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "PunchClock [id=" + id + ", theme=" + theme + ", detail=" + detail + ", date=" + date + ", person="
|
||||||
|
+ person + "]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,115 @@
|
|||||||
|
package com.cya.entity;
|
||||||
|
/**
|
||||||
|
* 打卡记录表
|
||||||
|
* @author 蜡笔小新
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
import java.sql.Date;
|
||||||
|
|
||||||
|
public class PunchClockRecord {
|
||||||
|
|
||||||
|
private int id; //记录Id
|
||||||
|
private String punchClockId; //打卡Id;
|
||||||
|
private Date punchClockDate; //打卡时间
|
||||||
|
private String punchClockTheme; //打卡主题
|
||||||
|
private String punchClockDetail; //打卡说明
|
||||||
|
private String punchClockPerson; //打卡发起人
|
||||||
|
private String name;
|
||||||
|
private String dormName;
|
||||||
|
private String tel;
|
||||||
|
private String stuNum; //学生学号
|
||||||
|
private int dormBuildId; ///学生寝室号
|
||||||
|
private boolean isRecord; //是否已经打卡
|
||||||
|
private String punckClockContent; //打卡内容
|
||||||
|
public int getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setId(int id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
public String getPunchClockId() {
|
||||||
|
return punchClockId;
|
||||||
|
}
|
||||||
|
public void setPunchClockId(String punchClockId) {
|
||||||
|
this.punchClockId = punchClockId;
|
||||||
|
}
|
||||||
|
public Date getPunchClockDate() {
|
||||||
|
return punchClockDate;
|
||||||
|
}
|
||||||
|
public void setPunchClockDate(Date punchClockDate) {
|
||||||
|
this.punchClockDate = punchClockDate;
|
||||||
|
}
|
||||||
|
public String getPunchClockTheme() {
|
||||||
|
return punchClockTheme;
|
||||||
|
}
|
||||||
|
public void setPunchClockTheme(String punchClockTheme) {
|
||||||
|
this.punchClockTheme = punchClockTheme;
|
||||||
|
}
|
||||||
|
public String getPunchClockDetail() {
|
||||||
|
return punchClockDetail;
|
||||||
|
}
|
||||||
|
public void setPunchClockDetail(String punchClockDetail) {
|
||||||
|
this.punchClockDetail = punchClockDetail;
|
||||||
|
}
|
||||||
|
public String getPunchClockPerson() {
|
||||||
|
return punchClockPerson;
|
||||||
|
}
|
||||||
|
public void setPunchClockPerson(String punchClockPerson) {
|
||||||
|
this.punchClockPerson = punchClockPerson;
|
||||||
|
}
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
public String getDormName() {
|
||||||
|
return dormName;
|
||||||
|
}
|
||||||
|
public void setDormName(String dormName) {
|
||||||
|
this.dormName = dormName;
|
||||||
|
}
|
||||||
|
public String getTel() {
|
||||||
|
return tel;
|
||||||
|
}
|
||||||
|
public void setTel(String tel) {
|
||||||
|
this.tel = tel;
|
||||||
|
}
|
||||||
|
public String getStuNum() {
|
||||||
|
return stuNum;
|
||||||
|
}
|
||||||
|
public void setStuNum(String stuNum) {
|
||||||
|
this.stuNum = stuNum;
|
||||||
|
}
|
||||||
|
public int getDormBuildId() {
|
||||||
|
return dormBuildId;
|
||||||
|
}
|
||||||
|
public void setDormBuildId(int dormBuildId) {
|
||||||
|
this.dormBuildId = dormBuildId;
|
||||||
|
}
|
||||||
|
public boolean isRecord() {
|
||||||
|
return isRecord;
|
||||||
|
}
|
||||||
|
public void setRecord(boolean isRecord) {
|
||||||
|
this.isRecord = isRecord;
|
||||||
|
}
|
||||||
|
public String getPunckClockContent() {
|
||||||
|
return punckClockContent;
|
||||||
|
}
|
||||||
|
public void setPunckClockContent(String punckClockContent) {
|
||||||
|
this.punckClockContent = punckClockContent;
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "PunchClockRecord [id=" + id + ", punchClockId=" + punchClockId + ", punchClockDate=" + punchClockDate
|
||||||
|
+ ", punchClockTheme=" + punchClockTheme + ", punchClockDetail=" + punchClockDetail
|
||||||
|
+ ", punchClockPerson=" + punchClockPerson + ", name=" + name + ", dormName=" + dormName + ", tel="
|
||||||
|
+ tel + ", stuNum=" + stuNum + ", dormBuildId=" + dormBuildId + ", isRecord=" + isRecord
|
||||||
|
+ ", punckClockContent=" + punckClockContent + "]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,64 @@
|
|||||||
|
package com.cya.entity;
|
||||||
|
|
||||||
|
import java.sql.Date;
|
||||||
|
|
||||||
|
public class Record {
|
||||||
|
private int recordId;
|
||||||
|
private String studentNumber;
|
||||||
|
private String studentName;
|
||||||
|
private int dormBuildId;
|
||||||
|
private String dormName;
|
||||||
|
private Date date;
|
||||||
|
private String detail;
|
||||||
|
public int getRecordId() {
|
||||||
|
return recordId;
|
||||||
|
}
|
||||||
|
public void setRecordId(int recordId) {
|
||||||
|
this.recordId = recordId;
|
||||||
|
}
|
||||||
|
public String getStudentNumber() {
|
||||||
|
return studentNumber;
|
||||||
|
}
|
||||||
|
public void setStudentNumber(String studentNumber) {
|
||||||
|
this.studentNumber = studentNumber;
|
||||||
|
}
|
||||||
|
public String getStudentName() {
|
||||||
|
return studentName;
|
||||||
|
}
|
||||||
|
public void setStudentName(String studentName) {
|
||||||
|
this.studentName = studentName;
|
||||||
|
}
|
||||||
|
public int getDormBuildId() {
|
||||||
|
return dormBuildId;
|
||||||
|
}
|
||||||
|
public void setDormBuildId(int dormBuildId) {
|
||||||
|
this.dormBuildId = dormBuildId;
|
||||||
|
}
|
||||||
|
public String getDormName() {
|
||||||
|
return dormName;
|
||||||
|
}
|
||||||
|
public void setDormName(String dormName) {
|
||||||
|
this.dormName = dormName;
|
||||||
|
}
|
||||||
|
public Date getDate() {
|
||||||
|
return date;
|
||||||
|
}
|
||||||
|
public void setDate(Date date) {
|
||||||
|
this.date = date;
|
||||||
|
}
|
||||||
|
public String getDetail() {
|
||||||
|
return detail;
|
||||||
|
}
|
||||||
|
public void setDetail(String detail) {
|
||||||
|
this.detail = detail;
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "Record [recordId=" + recordId + ", studentNumber=" + studentNumber + ", studentName=" + studentName
|
||||||
|
+ ", dormBuildId=" + dormBuildId + ", dormName=" + dormName + ", date=" + date + ", detail=" + detail
|
||||||
|
+ "]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
package com.cya.entity;
|
||||||
|
|
||||||
|
public class Result {
|
||||||
|
|
||||||
|
private boolean result;
|
||||||
|
private String message;
|
||||||
|
public boolean isResult() {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
public void setResult(boolean result) {
|
||||||
|
this.result = result;
|
||||||
|
}
|
||||||
|
public String getMessage() {
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
public void setMessage(String message) {
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
|
public Result(boolean result, String message) {
|
||||||
|
super();
|
||||||
|
this.result = result;
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Result() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue