|
|
@@ -2,12 +2,17 @@ package com.uas.platform.b2b.mobile.model;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
+import java.util.Set;
|
|
|
|
|
|
+import javax.persistence.CascadeType;
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
+import javax.persistence.FetchType;
|
|
|
import javax.persistence.GeneratedValue;
|
|
|
import javax.persistence.GenerationType;
|
|
|
import javax.persistence.Id;
|
|
|
+import javax.persistence.OneToMany;
|
|
|
+import javax.persistence.OrderBy;
|
|
|
import javax.persistence.SequenceGenerator;
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
@@ -53,19 +58,19 @@ public class ClockSetCenter implements Serializable {
|
|
|
* 员工编号
|
|
|
*/
|
|
|
@Column(name = "clo_emcode")
|
|
|
- private String emcode;
|
|
|
+ private Long emcode;
|
|
|
|
|
|
/**
|
|
|
* 班次数量
|
|
|
*/
|
|
|
@Column(name = "clo_degree")
|
|
|
- private Double wd_degree;
|
|
|
+ private Integer wd_degree;
|
|
|
|
|
|
/**
|
|
|
* 最早上班时间
|
|
|
*/
|
|
|
@Column(name = "clo_earlytime")
|
|
|
- private Date wd_earlytime;
|
|
|
+ private String wd_earlytime;
|
|
|
|
|
|
/**
|
|
|
* 排班编号
|
|
|
@@ -77,7 +82,7 @@ public class ClockSetCenter implements Serializable {
|
|
|
* 参与人数
|
|
|
*/
|
|
|
@Column(name = "clo_pcount")
|
|
|
- private Double wd_pcount;
|
|
|
+ private Integer wd_pcount;
|
|
|
|
|
|
/**
|
|
|
* 标题
|
|
|
@@ -86,9 +91,7 @@ public class ClockSetCenter implements Serializable {
|
|
|
private String name;
|
|
|
|
|
|
/**
|
|
|
- * 是否需要打卡<br>
|
|
|
- * 1. 是<br>
|
|
|
- * 0. 否
|
|
|
+ * 是否需要打卡
|
|
|
*/
|
|
|
@Column(name = "clo_ifneedsigncard")
|
|
|
private String ifNeedSignCard;
|
|
|
@@ -97,61 +100,115 @@ public class ClockSetCenter implements Serializable {
|
|
|
* 内勤距离
|
|
|
*/
|
|
|
@Column(name = "clo_innerdistance")
|
|
|
- private Double innerdistance;
|
|
|
+ private Integer innerdistance;
|
|
|
|
|
|
/**
|
|
|
* 外勤距离
|
|
|
*/
|
|
|
@Column(name = "clo_distance")
|
|
|
- private Double distance;
|
|
|
+ private Integer distance;
|
|
|
|
|
|
/**
|
|
|
* 公司距离设置
|
|
|
*/
|
|
|
@Column(name = "clo_comaddressset")
|
|
|
- private String comaddressset;
|
|
|
+ private Integer comaddressset;
|
|
|
|
|
|
/**
|
|
|
* 经度
|
|
|
*/
|
|
|
@Column(name = "clo_longitude")
|
|
|
- private Double longitude;
|
|
|
+ private String longitude;
|
|
|
|
|
|
/**
|
|
|
* 纬度
|
|
|
*/
|
|
|
@Column(name = "clo_latitude")
|
|
|
- private Double latitude;
|
|
|
+ private String latitude;
|
|
|
|
|
|
/**
|
|
|
* 天数
|
|
|
*/
|
|
|
@Column(name = "clo_day")
|
|
|
- private Double wd_day;
|
|
|
+ private Integer day;
|
|
|
|
|
|
/**
|
|
|
* 数量
|
|
|
*/
|
|
|
@Column(name = "clo_count")
|
|
|
- private Double count;
|
|
|
+ private Integer count;
|
|
|
|
|
|
/**
|
|
|
- * 班次对象1
|
|
|
+ * 工作时间1
|
|
|
*/
|
|
|
- @Column(name = "clo_class1", length = 1000)
|
|
|
- private String class1;
|
|
|
+ @Column(name = "clo_ondutyone")
|
|
|
+ private String wd_ondutyOne;
|
|
|
|
|
|
/**
|
|
|
- * 班次对象2
|
|
|
+ * 下班时间1
|
|
|
*/
|
|
|
- @Column(name = "clo_class2", length = 1000)
|
|
|
- private String class2;
|
|
|
+ @Column(name = "clo_offdutyone")
|
|
|
+ private String wd_offdutyOne;
|
|
|
|
|
|
/**
|
|
|
- * 班次对象3
|
|
|
+ * 开始时间1
|
|
|
*/
|
|
|
- @Column(name = "clo_class3", length = 1000)
|
|
|
- private String class3;
|
|
|
+ @Column(name = "clo_onbegone")
|
|
|
+ private String wd_onbegOne;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 结束时间1
|
|
|
+ */
|
|
|
+ @Column(name = "clo_offendone")
|
|
|
+ private String wd_offendOne;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 工作时间2
|
|
|
+ */
|
|
|
+ @Column(name = "clo_ondutytwo")
|
|
|
+ private String wd_ondutyTwo;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 下班时间2
|
|
|
+ */
|
|
|
+ @Column(name = "clo_offdutytwo")
|
|
|
+ private String wd_offdutyTwo;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 开始时间2
|
|
|
+ */
|
|
|
+ @Column(name = "clo_onbegtwo")
|
|
|
+ private String wd_onbegTwo;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 结束时间2
|
|
|
+ */
|
|
|
+ @Column(name = "clo_offendtwo")
|
|
|
+ private String wd_offendTwo;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 工作时间3
|
|
|
+ */
|
|
|
+ @Column(name = "clo_ondutythree")
|
|
|
+ private String wd_ondutyThree;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 下班时间3
|
|
|
+ */
|
|
|
+ @Column(name = "clo_offdutythree")
|
|
|
+ private String wd_offdutyThree;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 开始时间3
|
|
|
+ */
|
|
|
+ @Column(name = "clo_onbegthree")
|
|
|
+ private String wd_onbegThree;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 结束时间3
|
|
|
+ */
|
|
|
+ @Column(name = "clo_offendthree")
|
|
|
+ private String wd_offendThree;
|
|
|
|
|
|
/**
|
|
|
* 是否成功
|
|
|
@@ -162,8 +219,10 @@ public class ClockSetCenter implements Serializable {
|
|
|
/**
|
|
|
* 公司位置
|
|
|
*/
|
|
|
- @Column(name = "clo_comaddressdata", length = 2000)
|
|
|
- private String comAddressdata;
|
|
|
+ @OneToMany(mappedBy = "clockSetCenter", cascade = { CascadeType.REFRESH, CascadeType.PERSIST, CascadeType.REMOVE,
|
|
|
+ CascadeType.MERGE }, fetch = FetchType.EAGER)
|
|
|
+ @OrderBy("cla_id")
|
|
|
+ private Set<ClockAddress> address;
|
|
|
|
|
|
/**
|
|
|
* 班次日期
|
|
|
@@ -176,17 +235,14 @@ public class ClockSetCenter implements Serializable {
|
|
|
return wd_id;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setWd_id(Long wd_id) {
|
|
|
this.wd_id = wd_id;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public Long getEnuu() {
|
|
|
return enuu;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setEnuu(Long enuu) {
|
|
|
this.enuu = enuu;
|
|
|
}
|
|
|
@@ -199,59 +255,50 @@ public class ClockSetCenter implements Serializable {
|
|
|
this.ifDefaultClass = ifDefaultClass;
|
|
|
}
|
|
|
|
|
|
- public String getEmcode() {
|
|
|
+ public Long getEmcode() {
|
|
|
return emcode;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- public void setEmcode(String emcode) {
|
|
|
+ public void setEmcode(Long emcode) {
|
|
|
this.emcode = emcode;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- public Double getWd_degree() {
|
|
|
+ public Integer getWd_degree() {
|
|
|
return wd_degree;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- public void setWd_degree(Double wd_degree) {
|
|
|
+ public void setWd_degree(Integer wd_degree) {
|
|
|
this.wd_degree = wd_degree;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- public Date getWd_earlytime() {
|
|
|
+ public String getWd_earlytime() {
|
|
|
return wd_earlytime;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- public void setWd_earlytime(Date wd_earlytime) {
|
|
|
+ public void setWd_earlytime(String wd_earlytime) {
|
|
|
this.wd_earlytime = wd_earlytime;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public String getWd_code() {
|
|
|
return wd_code;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setWd_code(String wd_code) {
|
|
|
this.wd_code = wd_code;
|
|
|
}
|
|
|
|
|
|
- public Double getWd_pcount() {
|
|
|
+ public Integer getWd_pcount() {
|
|
|
return wd_pcount;
|
|
|
}
|
|
|
|
|
|
- public void setWd_pcount(Double wd_pcount) {
|
|
|
+ public void setWd_pcount(Integer wd_pcount) {
|
|
|
this.wd_pcount = wd_pcount;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
@@ -264,126 +311,185 @@ public class ClockSetCenter implements Serializable {
|
|
|
this.ifNeedSignCard = ifNeedSignCard;
|
|
|
}
|
|
|
|
|
|
- public Double getInnerdistance() {
|
|
|
+ public Integer getInnerdistance() {
|
|
|
return innerdistance;
|
|
|
}
|
|
|
|
|
|
- public void setInnerdistance(Double innerdistance) {
|
|
|
+ public void setInnerdistance(Integer innerdistance) {
|
|
|
this.innerdistance = innerdistance;
|
|
|
}
|
|
|
|
|
|
- public Double getDistance() {
|
|
|
+ public Integer getDistance() {
|
|
|
return distance;
|
|
|
}
|
|
|
|
|
|
- public void setDistance(Double distance) {
|
|
|
+ public void setDistance(Integer distance) {
|
|
|
this.distance = distance;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- public String getComaddressset() {
|
|
|
+ public Integer getComaddressset() {
|
|
|
return comaddressset;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- public void setComaddressset(String comaddressset) {
|
|
|
+ public void setComaddressset(Integer comaddressset) {
|
|
|
this.comaddressset = comaddressset;
|
|
|
}
|
|
|
|
|
|
- public Double getLongitude() {
|
|
|
+ public String getLongitude() {
|
|
|
return longitude;
|
|
|
}
|
|
|
|
|
|
- public void setLongitude(Double longitude) {
|
|
|
+ public void setLongitude(String longitude) {
|
|
|
this.longitude = longitude;
|
|
|
}
|
|
|
|
|
|
- public Double getLatitude() {
|
|
|
+ public String getLatitude() {
|
|
|
return latitude;
|
|
|
}
|
|
|
|
|
|
- public void setLatitude(Double latitude) {
|
|
|
+ public void setLatitude(String latitude) {
|
|
|
this.latitude = latitude;
|
|
|
}
|
|
|
|
|
|
- public Double getWd_day() {
|
|
|
- return wd_day;
|
|
|
+ public Integer getDay() {
|
|
|
+ return day;
|
|
|
}
|
|
|
|
|
|
- public void setWd_day(Double wd_day) {
|
|
|
- this.wd_day = wd_day;
|
|
|
+ public void setDay(Integer day) {
|
|
|
+ this.day = day;
|
|
|
}
|
|
|
|
|
|
- public Double getCount() {
|
|
|
+ public Integer getCount() {
|
|
|
return count;
|
|
|
}
|
|
|
|
|
|
- public void setCount(Double count) {
|
|
|
+ public void setCount(Integer count) {
|
|
|
this.count = count;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_ondutyOne() {
|
|
|
+ return wd_ondutyOne;
|
|
|
+ }
|
|
|
|
|
|
- public String getClass1() {
|
|
|
- return class1;
|
|
|
+ public void setWd_ondutyOne(String wd_ondutyOne) {
|
|
|
+ this.wd_ondutyOne = wd_ondutyOne;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_offdutyOne() {
|
|
|
+ return wd_offdutyOne;
|
|
|
+ }
|
|
|
|
|
|
- public void setClass1(String class1) {
|
|
|
- this.class1 = class1;
|
|
|
+ public void setWd_offdutyOne(String wd_offdutyOne) {
|
|
|
+ this.wd_offdutyOne = wd_offdutyOne;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_onbegOne() {
|
|
|
+ return wd_onbegOne;
|
|
|
+ }
|
|
|
|
|
|
- public String getClass2() {
|
|
|
- return class2;
|
|
|
+ public void setWd_onbegOne(String wd_onbegOne) {
|
|
|
+ this.wd_onbegOne = wd_onbegOne;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_offendOne() {
|
|
|
+ return wd_offendOne;
|
|
|
+ }
|
|
|
|
|
|
- public void setClass2(String class2) {
|
|
|
- this.class2 = class2;
|
|
|
+ public void setWd_offendOne(String wd_offendOne) {
|
|
|
+ this.wd_offendOne = wd_offendOne;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_ondutyTwo() {
|
|
|
+ return wd_ondutyTwo;
|
|
|
+ }
|
|
|
|
|
|
- public String getClass3() {
|
|
|
- return class3;
|
|
|
+ public void setWd_ondutyTwo(String wd_ondutyTwo) {
|
|
|
+ this.wd_ondutyTwo = wd_ondutyTwo;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_offdutyTwo() {
|
|
|
+ return wd_offdutyTwo;
|
|
|
+ }
|
|
|
|
|
|
- public void setClass3(String class3) {
|
|
|
- this.class3 = class3;
|
|
|
+ public void setWd_offdutyTwo(String wd_offdutyTwo) {
|
|
|
+ this.wd_offdutyTwo = wd_offdutyTwo;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_onbegTwo() {
|
|
|
+ return wd_onbegTwo;
|
|
|
+ }
|
|
|
|
|
|
- public String getSuccess() {
|
|
|
- return success;
|
|
|
+ public void setWd_onbegTwo(String wd_onbegTwo) {
|
|
|
+ this.wd_onbegTwo = wd_onbegTwo;
|
|
|
}
|
|
|
|
|
|
+ public String getWd_offendTwo() {
|
|
|
+ return wd_offendTwo;
|
|
|
+ }
|
|
|
|
|
|
- public void setSuccess(String success) {
|
|
|
- this.success = success;
|
|
|
+ public void setWd_offendTwo(String wd_offendTwo) {
|
|
|
+ this.wd_offendTwo = wd_offendTwo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getWd_ondutyThree() {
|
|
|
+ return wd_ondutyThree;
|
|
|
}
|
|
|
|
|
|
+ public void setWd_ondutyThree(String wd_ondutyThree) {
|
|
|
+ this.wd_ondutyThree = wd_ondutyThree;
|
|
|
+ }
|
|
|
|
|
|
- public String getComAddressdata() {
|
|
|
- return comAddressdata;
|
|
|
+ public String getWd_offdutyThree() {
|
|
|
+ return wd_offdutyThree;
|
|
|
}
|
|
|
|
|
|
+ public void setWd_offdutyThree(String wd_offdutyThree) {
|
|
|
+ this.wd_offdutyThree = wd_offdutyThree;
|
|
|
+ }
|
|
|
|
|
|
- public void setComAddressdata(String comAddressdata) {
|
|
|
- this.comAddressdata = comAddressdata;
|
|
|
+ public String getWd_onbegThree() {
|
|
|
+ return wd_onbegThree;
|
|
|
}
|
|
|
|
|
|
+ public void setWd_onbegThree(String wd_onbegThree) {
|
|
|
+ this.wd_onbegThree = wd_onbegThree;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getWd_offendThree() {
|
|
|
+ return wd_offendThree;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setWd_offendThree(String wd_offendThree) {
|
|
|
+ this.wd_offendThree = wd_offendThree;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSuccess() {
|
|
|
+ return success;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSuccess(String success) {
|
|
|
+ this.success = success;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Set<ClockAddress> getAddress() {
|
|
|
+ return address;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAddress(Set<ClockAddress> address) {
|
|
|
+ this.address = address;
|
|
|
+ }
|
|
|
|
|
|
public Date getDate() {
|
|
|
return date;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public void setDate(Date date) {
|
|
|
this.date = date;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public ClockSetCenter() {
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
}
|