package com.gxwebsoft.tower.param;

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

/**
 * 检查/保养部位配置表查询参数
 *
 * @author 科技小王子
 * @since 2023-06-08 17:22:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerProjectPlaceParam对象", description = "检查/保养部位配置表查询参数")
public class TowerProjectPlaceParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

    @ApiModelProperty(value = "部位ID")
    @QueryField(type = QueryType.EQ)
    private Integer placeId;

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

    @ApiModelProperty(value = "部位编码")
    @TableField(exist = false)
    private String placeCode;

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

    @ApiModelProperty(value = "部位类型")
    @TableField(exist = false)
    private String type;

}
