1.頁面包括了詳細信息查詢,和列表展示以及信息錄入
人才管理系統:包括了人員管理,招聘管理,培訓管理,獎罰管理,資金管理
1.用戶員工
2./** 薪金 */
1 package com.sanqing.po; 2 3 import java.io.Serializable; 4 import java.util.Date; 5 6 /** 薪金 */ 7 public class Stipend implements Serializable { 8 private Long id; //薪金信息編號 9 private String name; //員工姓名 10 private Float basic; //基本薪金 11 private Float eat; //飯補 12 private Float house; //房補 13 private Date granttime; // 工資發放時間 14 private Float duty; //全勤獎 15 private Float scot; //賦稅 16 private Float punishment;//罰款 17 private Float other; //額外補助 18 private Float totalize; //總計 19 20 public Stipend(String name, Float basic, Float eat, Float house, Date granttime, Float duty, Float scot, Float punishment, Float other, Float totalize) { 21 this.name = name; 22 this.basic = basic; 23 this.eat = eat; 24 this.house = house; 25 this.granttime = granttime; 26 this.duty = duty; 27 this.scot = scot; 28 this.punishment = punishment; 29 this.other = other; 30 this.totalize = totalize; 31 } 32 33 /** default constructor */ 34 public Stipend() { 35 } 36 37 public Long getId() { 38 return this.id; 39 } 40 41 public void setId(Long id) { 42 this.id = id; 43 } 44 45 public String getName() { 46 return this.name; 47 } 48 49 public void setName(String name) { 50 this.name = name; 51 } 52 53 public Float getBasic() { 54 return this.basic; 55 } 56 57 public void setBasic(Float basic) { 58 this.basic = basic; 59 } 60 61 public Float getEat() { 62 return this.eat; 63 } 64 65 public void setEat(Float eat) { 66 this.eat = eat; 67 } 68 69 public Float getHouse() { 70 return this.house; 71 } 72 73 public void setHouse(Float house) { 74 this.house = house; 75 } 76 77 /** 78 * @return Returns the granttime. 79 */ 80 public Date getGranttime() { 81 return granttime; 82 } 83 /** 84 * @param granttime The granttime to set. 85 */ 86 public void setGranttime(Date granttime) { 87 this.granttime = granttime; 88 } 89 public Float getDuty() { 90 return this.duty; 91 } 92 93 public void setDuty(Float duty) { 94 this.duty = duty; 95 } 96 97 public Float getScot() { 98 return this.scot; 99 } 100 101 public void setScot(Float scot) { 102 this.scot = scot; 103 } 104 105 public Float getPunishment() { 106 return this.punishment; 107 } 108 109 public void setPunishment(Float punishment) { 110 this.punishment = punishment; 111 } 112 113 public Float getOther() { 114 return this.other; 115 } 116 117 public void setOther(Float other) { 118 this.other = other; 119 } 120 121 public Float getTotalize() { 122 return this.totalize; 123 } 124 125 public void setTotalize(Float totalize) { 126 this.totalize = totalize; 127 } 128 129 public String toString() { 130 StringBuffer toStr = new StringBuffer(); 131 toStr.append("[Stipend] = [\n"); 132 toStr.append(" id = " + this.id + ";\n"); 133 toStr.append(" name = " + this.name + ";\n"); 134 toStr.append(" basic = " + this.basic + ";\n"); 135 toStr.append(" eat = " + this.eat + ";\n"); 136 toStr.append(" house = " + this.house + ";\n"); 137 toStr.append(" granttime = " + this.granttime + ";\n"); 138 toStr.append(" duty = " + this.duty + ";\n"); 139 toStr.append(" scot = " + this.scot + ";\n"); 140 toStr.append(" punishment = " + this.punishment + ";\n"); 141 toStr.append(" other = " + this.other + ";\n"); 142 toStr.append(" totalize = " + this.totalize + ";\n"); 143 toStr.append(" ];\n"); 144 return toStr.toString(); 145 } 146 147 }
3.應聘人員
1 package com.sanqing.po; 2 3 import java.io.Serializable; 4 import java.util.Date; 5 6 public class Job implements Serializable { 7 private Long id; //應聘人員編號 8 private String name;//應聘人員姓名 9 private Byte sex; //性別 10 private Integer age;//年齡 11 private String job; //職位 12 private String specialty;//所學專業 13 private String experience;//工作經驗 14 private String studyeffort;//學歷 15 private String school; //畢業學校 16 private String tel; //電話號碼 17 private String email; //Email地址 18 private Date createtime;//創建時間 19 private String content; //詳細經歷 20 private Byte isstock; //是否入庫 21 22 public Job(Long id,String name, Byte sex, Integer age, String job, String specialty, String experience, String studyeffort, String school, String tel, String email, Date createtime, String content, Byte isstock) { 23 this.id=id; 24 this.name = name; 25 this.sex = sex; 26 this.age = age; 27 this.job = job; 28 this.specialty = specialty; 29 this.experience = experience; 30 this.studyeffort = studyeffort; 31 this.school = school; 32 this.tel = tel; 33 this.email = email; 34 this.createtime = createtime; 35 this.content = content; 36 this.isstock = isstock; 37 } 38 public Job() { 39 } 40 41 public Long getId() { 42 return this.id; 43 } 44 45 public void setId(Long id) { 46 this.id = id; 47 } 48 49 public String getName() { 50 return this.name; 51 } 52 53 public void setName(String name) { 54 this.name = name; 55 } 56 57 public Byte getSex() { 58 return this.sex; 59 } 60 61 public void setSex(Byte sex) { 62 this.sex = sex; 63 } 64 65 public Integer getAge() { 66 return this.age; 67 } 68 69 public void setAge(Integer age) { 70 this.age = age; 71 } 72 73 public String getJob() { 74 return this.job; 75 } 76 77 public void setJob(String job) { 78 this.job = job; 79 } 80 81 public String getSpecialty() { 82 return this.specialty; 83 } 84 85 public void setSpecialty(String specialty) { 86 this.specialty = specialty; 87 } 88 89 public String getExperience() { 90 return this.experience; 91 } 92 93 public void setExperience(String experience) { 94 this.experience = experience; 95 } 96 97 public String getStudyeffort() { 98 return this.studyeffort; 99 } 100 101 public void setStudyeffort(String studyeffort) { 102 this.studyeffort = studyeffort; 103 } 104 105 public String getSchool() { 106 return this.school; 107 } 108 109 public void setSchool(String school) { 110 this.school = school; 111 } 112 113 public String getTel() { 114 return this.tel; 115 } 116 117 public void setTel(String tel) { 118 this.tel = tel; 119 } 120 121 public String getEmail() { 122 return this.email; 123 } 124 125 public void setEmail(String email) { 126 this.email = email; 127 } 128 129 public Date getCreatetime() { 130 return this.createtime; 131 } 132 133 public void setCreatetime(Date createtime) { 134 this.createtime = createtime; 135 } 136 137 public String getContent() { 138 return this.content; 139 } 140 141 public void setContent(String content) { 142 this.content = content; 143 } 144 145 public Byte getIsstock() { 146 return this.isstock; 147 } 148 149 public void setIsstock(Byte isstock) { 150 this.isstock = isstock; 151 } 152 153 public String toString() { 154 StringBuffer toStr = new StringBuffer(); 155 toStr.append("[Job] = [\n"); 156 toStr.append(" id = " + this.id + ";\n"); 157 toStr.append(" name = " + this.name + ";\n"); 158 toStr.append(" sex = " + this.sex + ";\n"); 159 toStr.append(" age = " + this.age + ";\n"); 160 toStr.append(" job = " + this.job + ";\n"); 161 toStr.append(" specialty = " + this.specialty + ";\n"); 162 toStr.append(" experience = " + this.experience + ";\n"); 163 toStr.append(" studyeffort = " + this.studyeffort + ";\n"); 164 toStr.append(" school = " + this.school + ";\n"); 165 toStr.append(" tel = " + this.tel + ";\n"); 166 toStr.append(" email = " + this.email + ";\n"); 167 toStr.append(" createtime = " + this.createtime+ ";\n"); 168 toStr.append(" content = " + this.content+ ";\n"); 169 toStr.append(" isstock = " + this.isstock + ";\n"); 170 toStr.append(" ];\n"); 171 return toStr.toString(); 172 } 173 174 }
4./** 獎懲 */
1 package com.sanqing.po; 2 3 import java.io.Serializable; 4 import java.util.Date; 5 6 /** 獎懲 */ 7 public class Institution implements Serializable { 8 private Long id; //獎懲編號 9 private String name; //獎懲名稱 10 private String reason; //獎懲原因 11 private String explain; //獎懲說明 12 private Date createtime;//創建時間 13 14 /** full constructor */ 15 public Institution(String name, String reason, String explain, Date createtime) { 16 this.name = name; 17 this.reason = reason; 18 this.explain = explain; 19 this.createtime = createtime; 20 } 21 22 /** default constructor */ 23 public Institution() { 24 } 25 26 public Long getId() { 27 return this.id; 28 } 29 30 public void setId(Long id) { 31 this.id = id; 32 } 33 34 public String getName() { 35 return this.name; 36 } 37 38 public void setName(String name) { 39 this.name = name; 40 } 41 42 public String getReason() { 43 return this.reason; 44 } 45 46 public void setReason(String reason) { 47 this.reason = reason; 48 } 49 50 public String getExplain() { 51 return this.explain; 52 } 53 54 public void setExplain(String explain) { 55 this.explain = explain; 56 } 57 58 public Date getCreatetime() { 59 return this.createtime; 60 } 61 62 public void setCreatetime(Date createtime) { 63 this.createtime = createtime; 64 } 65 66 public String toString() { 67 StringBuffer toStr = new StringBuffer(); 68 toStr.append("[Institution] = [\n"); 69 toStr.append(" id = " + this.id + ";\n"); 70 toStr.append(" name = " + this.name + ";\n"); 71 toStr.append(" reason = " + this.reason + ";\n"); 72 toStr.append(" createtime = " + this.createtime+ ";\n"); 73 toStr.append(" explain = " + this.explain + ";\n"); 74 toStr.append(" ];\n"); 75 return toStr.toString(); 76 } 77 78 }
5./** 培訓 */
1 package com.sanqing.po; 2 3 import java.io.Serializable; 4 import java.util.Date; 5 6 /** 培訓 */ 7 public class Educate implements Serializable { 8 private Long id; //培訓編號 9 private String name; //培訓名稱 10 private String purpose; //培訓目的 11 private Date begintime; //培訓開始時間 12 private Date endtime; //培訓結束時間 13 private String datum; //培訓材料 14 private String teacher; //培訓講師 15 private String student; //培訓人員 16 private Date createtime;//創建時間 17 private Byte educate; //培訓是否完成 18 private String effect; //培訓效果 19 private String summarize;//總結 20 21 public Educate(String name, String purpose, Date begintime, Date endtime, String datum, String teacher, String student, Date createtime, Byte educate,String effect, String summarize) { 22 this.name = name; 23 this.purpose = purpose; 24 this.begintime = begintime; 25 this.endtime = endtime; 26 this.datum = datum; 27 this.teacher = teacher; 28 this.student = student; 29 this.createtime = createtime; 30 this.educate=educate; 31 this.effect = effect; 32 this.summarize = summarize; 33 } 34 35 /** default constructor */ 36 public Educate() { 37 } 38 39 public Long getId() { 40 return this.id; 41 } 42 43 public void setId(Long id) { 44 this.id = id; 45 } 46 47 public String getName() { 48 return this.name; 49 } 50 51 public void setName(String name) { 52 this.name = name; 53 } 54 55 public String getPurpose() { 56 return this.purpose; 57 } 58 59 public void setPurpose(String purpose) { 60 this.purpose = purpose; 61 } 62 63 public Date getBegintime() { 64 return this.begintime; 65 } 66 67 public void setBegintime(Date begintime) { 68 this.begintime = begintime; 69 } 70 71 public Date getEndtime() { 72 return this.endtime; 73 } 74 75 public void setEndtime(Date endtime) { 76 this.endtime = endtime; 77 } 78 79 public String getDatum() { 80 return this.datum; 81 } 82 83 public void setDatum(String datum) { 84 this.datum = datum; 85 } 86 87 public String getTeacher() { 88 return this.teacher; 89 } 90 91 public void setTeacher(String teacher) { 92 this.teacher = teacher; 93 } 94 95 public String getStudent() { 96 return this.student; 97 } 98 99 public void setStudent(String student) { 100 this.student = student; 101 } 102 103 public Date getCreatetime() { 104 return this.createtime; 105 } 106 107 public void setCreatetime(Date createtime) { 108 this.createtime = createtime; 109 } 110 111 public String getEffect() { 112 return this.effect; 113 } 114 115 public void setEffect(String effect) { 116 this.effect = effect; 117 } 118 119 public String getSummarize() { 120 return this.summarize; 121 } 122 123 public void setSummarize(String summarize) { 124 this.summarize = summarize; 125 } 126 127 public String toString() { 128 StringBuffer toStr = new StringBuffer(); 129 toStr.append("[Educate] = [\n"); 130 toStr.append(" id = " + this.id + ";\n"); 131 toStr.append(" name = " + this.name + ";\n"); 132 toStr.append(" begintime = " + this.begintime+ ";\n"); 133 toStr.append(" endtime = " + this.endtime+ ";\n"); 134 toStr.append(" createtime = " + this.createtime+ ";\n"); 135 toStr.append(" purpose = " + this.purpose + ";\n"); 136 toStr.append(" datum = " + this.datum + ";\n"); 137 toStr.append(" teacher = " + this.teacher + ";\n"); 138 toStr.append(" student = " + this.student + ";\n"); 139 toStr.append(" educate = " + this.educate+ ";\n"); 140 toStr.append(" effect = " + this.effect + ";\n"); 141 toStr.append(" summarize = " + this.summarize + ";\n"); 142 toStr.append(" ];\n"); 143 return toStr.toString(); 144 } 145 146 /** 147 * @return Returns the educate. 148 */ 149 public Byte getEducate() { 150 return educate; 151 } 152 /** 153 * @param educate The educate to set. 154 */ 155 public void setEducate(Byte educate) { 156 this.educate = educate; 157 } 158 }