package com.cmvr.inspection.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import com.cmvr.common.annotation.Excel;
import com.cmvr.common.core.domain.BaseEntity;

/**
 * 巡检任务对象 inspection_task
 * 
 * @author cmvr-iot
 * @since 2026-05-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel("巡检任务")
public class InspectionTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @Excel(name = "任务编码")
    @ApiModelProperty("任务编码")
    private String taskCode;

    @Excel(name = "任务名称")
    @ApiModelProperty("任务名称")
    private String taskName;

    @Excel(name = "任务类型")
    @ApiModelProperty("任务类型(1巡检任务 2讲解任务)")
    private String taskType;

    /** 任务id */
    @Excel(name = "任务id")
    @ApiModelProperty("任务id")
    private String taskConfigId;

    @Excel(name = "地图id")
    @ApiModelProperty("地图id")
    private String mapId;

    @Excel(name = "点位数量")
    @ApiModelProperty("点位数量")
    private Integer waypointCount;

}
