|
|
@@ -3,218 +3,124 @@ package com.goafanti.common.model;
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
|
|
|
+/**
|
|
|
+ * working_hours
|
|
|
+ * @author
|
|
|
+ */
|
|
|
public class WorkingHours implements Serializable {
|
|
|
-
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.id
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private Integer id;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.name
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private String name;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.type
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private Integer type;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.start
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private String start;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.rest_start
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private String restStart;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.rest_end
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private String restEnd;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.end
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private String end;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database column working_hours.create_time
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private Date createTime;
|
|
|
- /**
|
|
|
- * This field was generated by MyBatis Generator. This field corresponds to the database table working_hours
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.id
|
|
|
- * @return the value of working_hours.id
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public Integer getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.id
|
|
|
- * @param id the value for working_hours.id
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setId(Integer id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.name
|
|
|
- * @return the value of working_hours.name
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public String getName() {
|
|
|
- return name;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.name
|
|
|
- * @param name the value for working_hours.name
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setName(String name) {
|
|
|
- this.name = name == null ? null : name.trim();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.type
|
|
|
- * @return the value of working_hours.type
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public Integer getType() {
|
|
|
- return type;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.type
|
|
|
- * @param type the value for working_hours.type
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setType(Integer type) {
|
|
|
- this.type = type;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.start
|
|
|
- * @return the value of working_hours.start
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public String getStart() {
|
|
|
- return start;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.start
|
|
|
- * @param start the value for working_hours.start
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setStart(String start) {
|
|
|
- this.start = start == null ? null : start.trim();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.rest_start
|
|
|
- * @return the value of working_hours.rest_start
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public String getRestStart() {
|
|
|
- return restStart;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.rest_start
|
|
|
- * @param restStart the value for working_hours.rest_start
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setRestStart(String restStart) {
|
|
|
- this.restStart = restStart == null ? null : restStart.trim();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.rest_end
|
|
|
- * @return the value of working_hours.rest_end
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public String getRestEnd() {
|
|
|
- return restEnd;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.rest_end
|
|
|
- * @param restEnd the value for working_hours.rest_end
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setRestEnd(String restEnd) {
|
|
|
- this.restEnd = restEnd == null ? null : restEnd.trim();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.end
|
|
|
- * @return the value of working_hours.end
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public String getEnd() {
|
|
|
- return end;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.end
|
|
|
- * @param end the value for working_hours.end
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setEnd(String end) {
|
|
|
- this.end = end == null ? null : end.trim();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method returns the value of the database column working_hours.create_time
|
|
|
- * @return the value of working_hours.create_time
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public Date getCreateTime() {
|
|
|
- return createTime;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method sets the value of the database column working_hours.create_time
|
|
|
- * @param createTime the value for working_hours.create_time
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- public void setCreateTime(Date createTime) {
|
|
|
- this.createTime = createTime;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table working_hours
|
|
|
- * @mbg.generated Fri Jul 09 11:31:02 CST 2021
|
|
|
- */
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- StringBuilder sb = new StringBuilder();
|
|
|
- sb.append(getClass().getSimpleName());
|
|
|
- sb.append(" [");
|
|
|
- sb.append("Hash = ").append(hashCode());
|
|
|
- sb.append(", id=").append(id);
|
|
|
- sb.append(", name=").append(name);
|
|
|
- sb.append(", type=").append(type);
|
|
|
- sb.append(", start=").append(start);
|
|
|
- sb.append(", restStart=").append(restStart);
|
|
|
- sb.append(", restEnd=").append(restEnd);
|
|
|
- sb.append(", end=").append(end);
|
|
|
- sb.append(", createTime=").append(createTime);
|
|
|
- sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
- sb.append("]");
|
|
|
- return sb.toString();
|
|
|
- }
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 名称
|
|
|
+ */
|
|
|
+ private String name;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 类型
|
|
|
+ */
|
|
|
+ private Integer type;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 开始时间
|
|
|
+ */
|
|
|
+ private String start;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 休息开始时间
|
|
|
+ */
|
|
|
+ private String restStart;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 休息结束时间
|
|
|
+ */
|
|
|
+ private String restEnd;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 结束时间
|
|
|
+ */
|
|
|
+ private String end;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ private Date createTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 最小公出时长
|
|
|
+ */
|
|
|
+ private Double minHours;
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ public Integer getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Integer id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setType(Integer type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStart() {
|
|
|
+ return start;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStart(String start) {
|
|
|
+ this.start = start;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRestStart() {
|
|
|
+ return restStart;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRestStart(String restStart) {
|
|
|
+ this.restStart = restStart;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRestEnd() {
|
|
|
+ return restEnd;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRestEnd(String restEnd) {
|
|
|
+ this.restEnd = restEnd;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEnd() {
|
|
|
+ return end;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEnd(String end) {
|
|
|
+ this.end = end;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getMinHours() {
|
|
|
+ return minHours;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMinHours(Double minHours) {
|
|
|
+ this.minHours = minHours;
|
|
|
+ }
|
|
|
}
|