package com.gxwebsoft.tower.param;

import com.baomidou.mybatisplus.annotation.TableField;
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.util.List;

/**
 * 塔吊设备管理查询参数
 *
 * @author 科技小王子
 * @since 2023-05-20 15:06:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerEquipmentParam对象", description = "塔吊设备管理查询参数")
public class TowerEquipmentParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "设备型号")
    private String model;

    @ApiModelProperty(value = "设备编号")
    private String equipmentNo;

    @ApiModelProperty(value = "出厂编号")
    private String factoryNo;

    @ApiModelProperty(value = "出厂日期")
    private String factoryDate;

    @ApiModelProperty(value = "制造厂商")
    private String manufactor;

    @ApiModelProperty(value = "使用年限")
    private String lifeYear;

    @ApiModelProperty(value = "报废日期")
    private String scrapDate;

    @ApiModelProperty(value = "备案许可证号")
    private String licenceNo;

    @ApiModelProperty(value = "产权单位")
    @QueryField(type = QueryType.EQ)
    private String company;

    @ApiModelProperty(value = "产权单位名称")
    private String propertyCompany;

    @ApiModelProperty(value = "所属部门")
    @QueryField(type = QueryType.EQ)
    private String organization;

    @ApiModelProperty(value = "所属仓库")
    @QueryField(type = QueryType.EQ)
    private String warehouse;

    @ApiModelProperty(value = "设备来源")
    private String source;

    @ApiModelProperty(value = "采购日期")
    private String buyDate;

    @ApiModelProperty(value = "当前位置")
    private String currentLocation;

    @ApiModelProperty(value = "设计高度")
    private String designHeight;

    @ApiModelProperty(value = "独立高度")
    private String height;

    @ApiModelProperty(value = "额定载重")
    private String ratedLoad;

    @ApiModelProperty(value = "最大幅度处额定载重")
    private String maxRatedLoad;

    @ApiModelProperty(value = "附件信息")
    private String files;

    @ApiModelProperty(value = "状态, 0待发布, 1已发布")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "所有人")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

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

    @ApiModelProperty(value = "是否仅显示未绑定项目设备")
    @TableField(exist = false)
    private Boolean idleOnly;

    @ApiModelProperty(value = "是否仅显示未绑定项目设备")
    @TableField(exist = false)
    private List<String> notInFilingNoList;

    @TableField(exist = false)
    private List<Integer> equipmentIdList;

    @TableField(exist = false)
    private String keywords;

    @TableField(exist = false)
    private Integer yearFilter;

}
