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

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-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_work_order_matter_repair")
@ApiModel(value="SaasWorkOrderMatterRepair对象", description="报事报修工单表")
public class SaasWorkOrderMatterRepair extends BaseEntity {

    /**
     * 工单主表ID
     */
    @ApiModelProperty(name = "workOrderId", value = "工单主表ID")
    private Long workOrderId;
    /**
     * 报修来源(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;
    /**
     * 协助人ID
     */
    @ApiModelProperty(name = "assistUserIds", value = "协助人ID")
    private String assistUserIds;
    /**
     * 协助人名称
     */
    @ApiModelProperty(name = "assistUserNames", value = "协助人名称")
    private String assistUserNames;
    /**
     * 联系电话
     */
    @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;
}
