package com.yuchen.saas.park.api.entity.repair;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * <p>
 * 报事报修表
 * </p>
 *
 * @author caiwq
 * @since 2024-04-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_matter_repair")
@ApiModel(value="SaasMatterRepair对象", description="报事报修表")
public class SaasMatterRepair extends BaseEntity {

    /**
     * 项目ID
     */
    @ApiModelProperty(name = "projectId", value = "项目ID")
    private Long projectId;
    /**
     * 客户ID
     */
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    /**
     * 录单人用户ID
     */
    @ApiModelProperty(name = "recordUserId", value = "录单人用户ID")
    private Long recordUserId;
    /**
     * 录单人姓名
     */
    @ApiModelProperty(name = "recordUserName", value = "录单人姓名")
    private String recordUserName;
    /**
     * 录单时间
     */
    @ApiModelProperty(name = "recordTime", value = "录单时间")
    private Date recordTime;
    /**
     * 报修单号
     */
    @ApiModelProperty(name = "repairNo", value = "报修单号")
    private String repairNo;
    /**
     * 报修来源(1:上门 2:电话 3:线上登记 4:现场 5:其他)
     */
    @ApiModelProperty(name = "repairSource", value = "报修来源(1:上门 2:电话 3:线上登记 4:现场 5:其他)")
    private Integer repairSource;
    /**
     * 报修类型ID
     */
    @ApiModelProperty(name = "repairTypeId", value = "报修类型ID")
    private Long repairTypeId;
    /**
     * 报修人
     */
    @ApiModelProperty(name = "repairUserId", value = "报修人")
    private Long repairUserId;
    /**
     * 报修人
     */
    @ApiModelProperty(name = "repairUserName", value = "报修人")
    private String repairUserName;
    /**
     * 联系电话
     */
    @ApiModelProperty(name = "linkPhone", value = "联系电话")
    private String linkPhone;
    /**
     * 报修时间
     */
    @ApiModelProperty(name = "repairTime", value = "报修时间")
    private Date repairTime;
    /**
     * 预约时间
     */
    @ApiModelProperty(name = "appointTime", value = "预约时间")
    private Date appointTime;
    /**
     * 报修详情
     */
    @ApiModelProperty(name = "repairDetail", value = "报修详情")
    private String repairDetail;
    /**
     * 报修图片
     */
    @ApiModelProperty(name = "repairImage", value = "报修图片")
    private String repairImage;
    /**
     * 报修区域(1:户内 2:公区)
     */
    @ApiModelProperty(name = "repairArea", value = "报修区域(1:户内 2:公区)")
    private Integer repairArea;
    /**
     * 报修地点ID
     */
    @ApiModelProperty(name = "repairAddrIds", value = "报修地点ID")
    private String repairAddrIds;
    /**
     * 报修地点名称
     */
    @ApiModelProperty(name = "repairAddrNames", value = "报修地点名称")
    private String repairAddrNames;
    /**
     * 报修状态(1:待受理 2:待派工 3:待处理 4:处理中 5:待确认 6:待回访 7:已关闭 8:已作废)
     */
    @ApiModelProperty(name = "repairStatus", value = "报修状态(1:待受理 2:待派工 3:待处理 4:处理中 5:待确认 6:待回访 7:已关闭 8:已作废)")
    private Integer repairStatus;
    /**
     * 回访结果
     */
    @ApiModelProperty(name = "backResult", value = "回访结果")
    private String backResult;
    /**
     * 回访人员
     */
    @ApiModelProperty(name = "backUserId", value = "回访人员")
    private Long backUserId;
    /**
     * 回访时间
     */
    @ApiModelProperty(name = "backTime", value = "回访时间")
    private Date backTime;
    /**
     * 取消原因
     */
    @ApiModelProperty(name = "cancleReason", value = "取消原因")
    private String cancleReason;
    /**
     * 评价等级(1:好评 2:中评 3:差评)
     */
    @ApiModelProperty(name = "evaluateLevel", value = "评价等级(1:好评 2:中评 3:差评)")
    private Integer evaluateLevel;
    /**
     * 评价标签
     */
    @ApiModelProperty(name = "evaluateTag", value = "评价标签")
    private String evaluateTag;
    /**
     * 评价内容
     */
    @ApiModelProperty(name = "evaluateContent", value = "评价内容")
    private String evaluateContent;
    /**
     * 应用ID
     */
    @ApiModelProperty(name = "appId", value = "应用ID")
    private Long appId;
    /**
     * 创建人组织用户
     */
    @ApiModelProperty(name = "createOrgUser", value = "创建人组织用户")
    private Long createOrgUser;
    /**
     * 更新人组织用户
     */
    @ApiModelProperty(name = "updateOrgUser", value = "更新人组织用户")
    private Long updateOrgUser;

}
