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-06-05 22:40:54
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerFallParam对象", description = "项目管理查询参数")
public class TowerFallParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "防坠器编号")
    private String code;

    @ApiModelProperty(value = "防坠器型号")
    private String model;

    @ApiModelProperty(value = "制造厂家")
    private String factory;

    @ApiModelProperty(value = "产权单位")
    private Integer companyId;

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

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

    @ApiModelProperty(value = "出厂检测报告")
    private String file1;

    @ApiModelProperty(value = "合格证")
    private String file2;

    @ApiModelProperty(value = "出厂铭牌")
    private String file3;

    @ApiModelProperty(value = "发票")
    private String file4;

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

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

    @ApiModelProperty(value = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

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

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

}
