package com.gxwebsoft.tower.param;

import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 派单详情查询参数
 *
 * @author 科技小王子
 * @since 2023-07-03 10:56:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerWorksheetDetailParam对象", description = "派单详情查询参数")
public class TowerWorksheetDetailParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer detailId;

    @QueryField(type = QueryType.EQ)
    private Integer worksheetId;

    @ApiModelProperty(value = "工作类型(0安装1加高2拆卸)")
    @QueryField(type = QueryType.EQ)
    private Integer workType;

    @ApiModelProperty(value = "设备ID")
    @QueryField(type = QueryType.EQ)
    private Integer equipmentId;

    @ApiModelProperty(value = "安装臂长(m)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal setupLength;

    @ApiModelProperty(value = "年份要求")
    @QueryField(type = QueryType.EQ)
    private Integer yearRequest;

    @ApiModelProperty(value = "安装高度")
    @QueryField(type = QueryType.EQ)
    private BigDecimal setupHeight;

    @ApiModelProperty(value = "是否要油漆")
    @QueryField(type = QueryType.EQ)
    private Integer needPaint;

    @ApiModelProperty(value = "附着方式(0预埋1钻孔)")
    @QueryField(type = QueryType.EQ)
    private Integer clingMethod;

    @ApiModelProperty(value = "现场条件确认")
    @QueryField(type = QueryType.EQ)
    private Integer hasConfirm;

    @ApiModelProperty(value = "加高第几道附着")
    @QueryField(type = QueryType.EQ)
    private Integer clingNum;

    @ApiModelProperty(value = "标节是否需要发货")
    @QueryField(type = QueryType.EQ)
    private Integer sectionNeedExpress;

    @ApiModelProperty(value = "标节数量")
    @QueryField(type = QueryType.EQ)
    private Integer sectionNum;

    @ApiModelProperty(value = "标节是否需要油漆")
    @QueryField(type = QueryType.EQ)
    private Integer sectionNeedPaint;

    @ApiModelProperty(value = "拆卸高度")
    @QueryField(type = QueryType.EQ)
    private BigDecimal removeHeight;

    @ApiModelProperty(value = "派单说明")
    private String intro;

    @ApiModelProperty(value = "系统内的作业人员")
    private String sysWorkerList;

    @ApiModelProperty(value = "外调的作业人员")
    private String outComeWorkerList;

    @ApiModelProperty(value = "人员类型(0自有1外派)")
    private Integer workerType;

    @ApiModelProperty(value = "班组负责人")
    @QueryField(type = QueryType.EQ)
    private Integer classManager;

    @ApiModelProperty(value = "司机")
    private String driver;

    @ApiModelProperty(value = "车牌")
    private String carPlate;

    private String photos;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

}
