package com.gxwebsoft.apps.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-11 19:10:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "EquipmentOrderGoodsParam对象", description = "电池管理记录表查询参数")
public class EquipmentOrderGoodsParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品ID")
    @QueryField(type = QueryType.EQ)
    private Integer orderGoodsId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "下单类型")
    private String equipmentCategory;

    @ApiModelProperty(value = "商品封面图")
    private String image;

    @ApiModelProperty(value = "二维码")
    private String qrcode;

    @ApiModelProperty(value = "分类ID")
    @QueryField(type = QueryType.EQ)
    private Integer categoryId;

    @ApiModelProperty(value = "电池型号")
    private String batteryModel;

    @ApiModelProperty(value = "商品卖点")
    private String sellingPoint;

    @ApiModelProperty(value = "库存总量")
    @QueryField(type = QueryType.EQ)
    private Integer stockTotal;

    @ApiModelProperty(value = "商品详情")
    private String content;

    @ApiModelProperty(value = "电池租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal batteryRent;

    @ApiModelProperty(value = "电池价格")
    @QueryField(type = QueryType.EQ)
    private BigDecimal batteryPrice;

    @ApiModelProperty(value = "电池押金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal batteryDeposit;

    @ApiModelProperty(value = "电池保险")
    @QueryField(type = QueryType.EQ)
    private BigDecimal batteryInsurance;

    @ApiModelProperty(value = "首付款")
    @QueryField(type = QueryType.EQ)
    private BigDecimal downPayment;

    @ApiModelProperty(value = "分期期数")
    @QueryField(type = QueryType.EQ)
    private BigDecimal periods;

    @ApiModelProperty(value = "分期还款")
    @QueryField(type = QueryType.EQ)
    private BigDecimal repayment;

    @ApiModelProperty(value = "手续费")
    @QueryField(type = QueryType.EQ)
    private BigDecimal serviceCharges;

    @ApiModelProperty(value = "分期方式 10按周 20按月")
    @QueryField(type = QueryType.EQ)
    private Integer periodsType;

    @ApiModelProperty(value = "订单编号")
    @QueryField(type = QueryType.EQ)
    private Integer orderId;

    @ApiModelProperty(value = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

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

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

    @ApiModelProperty(value = "商户编码")
    private String merchantCode;

    @ApiModelProperty(value = "旧商品ID")
    private Integer goodsId;

}
