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;

import java.math.BigDecimal;

/**
 * 配件管理查询参数
 *
 * @author 科技小王子
 * @since 2023-05-22 11:53:48
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerAccessoryParam对象", description = "配件管理查询参数")
public class TowerAccessoryParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "配件名称")
    private String accessoryName;

    @ApiModelProperty(value = "配件分类")
    private String accessoryCategory;

    @ApiModelProperty(value = "适用设备型号")
    private String accessoryModel;

    @ApiModelProperty(value = "配件规格")
    private String accessorySpecs;

    @ApiModelProperty(value = "单价")
    @QueryField(type = QueryType.EQ)
    private BigDecimal accessoryPrice;

    @ApiModelProperty(value = "配件单位")
    private String accessoryUnit;

    @ApiModelProperty(value = "库存总量")
    private String accessoryStock;

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

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

    @ApiModelProperty(value = "制造厂商编号")
    private String manufactorNo;

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

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

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

    @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;

}
