package com.eleadmin.oa.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.eleadmin.common.core.annotation.QueryField;
import com.eleadmin.common.core.annotation.QueryType;
import com.eleadmin.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 gxwebsoft.com
 * @since 2021-08-28 22:12:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(description = "资产数据查询参数")
public class AssetsDataParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资产数据id")
    @QueryField(type = QueryType.EQ)
    private Integer assetsDataId;

    @ApiModelProperty(value = "资产id")
    @QueryField(type = QueryType.EQ)
    private Integer assetsId;

    @ApiModelProperty(value = "资产数据标识")
    private String assetsDataCode;

    @ApiModelProperty(value = "资产数据名称")
    private String assetsDataName;

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

    @ApiModelProperty(value = "资产代码")
    @TableField(exist = false)
    private String assetsCode;

    @ApiModelProperty(value = "资产名称")
    @TableField(exist = false)
    private String assetsName;

    @ApiModelProperty(value = "资产数据代码或资产数据名称")
    @TableField(exist = false)
    private String keywords;

}
