/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.jobs.reportjob.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 报事工单实体类
 *
 * @author BladeX
 * @since 2020-10-17
 */
@Data
@TableName("yc_report_job")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ReportJob对象", description = "报事工单")
public class ReportJob extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 工单编号
	*/
		@ApiModelProperty(value = "工单编号")
		private String jobNo;
	/**
	* 上报人
	*/
		@ApiModelProperty(value = "上报人")
		private String reportor;
	/**
	* 上报人电话
	*/
		@ApiModelProperty(value = "上报人电话")
		private String reportPhone;
	/**
	* 上报时间
	*/
		@ApiModelProperty(value = "上报时间")
		private Date reportTime;
	/**
	* 处理人
	*/
		@ApiModelProperty(value = "处理人")
		private String handler;
	/**
	* 处理人电话
	*/
		@ApiModelProperty(value = "处理人电话")
		private String handlerPhone;
	/**
	* 工单状态
	*/
		@ApiModelProperty(value = "工单状态")
		private Integer jobStatus;

	/**
	 * 所属小区id
	 */
	@ApiModelProperty(value = "所属小区id")
	private Long residentialId;

	/**
	 * 所属小区名称
	 */
	@ApiModelProperty(value = "所属小区名称")
	private String residentialName;

	/**
	 * 机构路径
	 */
	@ApiModelProperty(value = "机构路径")
	private String orgPosition;

	/**
	 * 报修位置
	 */
	@ApiModelProperty(value = "报修位置")
	private String reportPosition;

	/**
	 * 预约开始时间
	 */
	@ApiModelProperty(value = "预约开始时间")
	private Date beginTime;
	/**
	 * 预约结束时间
	 */
	@ApiModelProperty(value = "预约结束时间")
	private Date endTime;
	/**
	 * 0-未评价  1-已评价
	 */
	@ApiModelProperty(value = "0-未评价  1-已评价")
	private Integer estimateStatus;
	/**
	 * 用户对处理结果的评论
	 */
	@ApiModelProperty(value = "用户对处理结果的评论")
	private String comment;
	/**
	 * 处理时间
	 */
	@ApiModelProperty(value = "处理时间")
	private Date handleTime;

	/**
	 * 物业系统id
	 */
	@ApiModelProperty(value = "物业系统id")
	private Long oldId;


	/**
	 * 图片-多张图片用“，”切割
	 */
	@ApiModelProperty(value = "图片-多张图片用“，”切割")
	private String pic;

	/**
	 * 租户id
	 */
	@ApiModelProperty(value = "租户id")
	private String tenantId;

	/**
	 * 报修详情
	 */
	@ApiModelProperty(value = "报修详情")
	private String reportDetail;

}
