package com.goafanti.common.model;

import java.io.Serializable;
import java.util.Date;

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();
	}
}