package com.gxwebsoft.common.system.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 lombok.Data;
import lombok.EqualsAndHashCode;

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

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

    private String name;

    @TableField(exist = false)
    private String provinceName;

    @TableField(exist = false)
    private String cityName;

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

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

}
