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;

/**
 * 派单管理查询参数
 *
 * @author 科技小王子
 * @since 2023-07-02 16:15:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerWorksheetParam对象", description = "派单管理查询参数")
public class TowerWorksheetParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "派单类型:0安拆1质检2仓储3维保")
    @QueryField(type = QueryType.EQ)
    private Integer type;

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

    @ApiModelProperty(value = "经营人员ID")
    @QueryField(type = QueryType.EQ)
    private Integer startUid;

    @ApiModelProperty(value = "项目ID")
    @QueryField(type = QueryType.EQ)
    private Integer projectId;

    @ApiModelProperty(value = "计划进场时间(经营人员填)")
    private String planInDateInit;

    @ApiModelProperty(value = "计划进场时间")
    private String planInDate;

    @ApiModelProperty(value = "到货时间")
    private String receiveDate;

    @ApiModelProperty(value = "生产主管ID")
    @QueryField(type = QueryType.EQ)
    private Integer productionMangerUid;

    @ApiModelProperty(value = "设备类型:(0塔式起重机;1施工升降机;2物料提升机)")
    @QueryField(type = QueryType.EQ)
    private Integer equipmentType;

    @ApiModelProperty(value = "0已取消1待派单2待到场3待确认4已完成")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

}
