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-03 10:18:57
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerWorksheetPartsParam对象", description = "派单配件查询参数")
public class TowerWorksheetPartsParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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


    @ApiModelProperty(value = "父级分类ID")
    @QueryField(type = QueryType.EQ)
    private Integer parentId;

    @ApiModelProperty(value = "配件ID,对应category表ID")
    @QueryField(type = QueryType.EQ)
    private Integer cateId;

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

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

}
