Files
jczxw-java/com.gxwebwsoft.api-v151/src/main/java/com/gxwebsoft/apps/param/EquipmentParam.java
2022-11-17 23:16:26 +08:00

189 lines
5.8 KiB
Java

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 2022-11-17 15:53:11
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "EquipmentParam对象", description = "商品记录表查询参数")
public class EquipmentParam extends BaseParam {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "设备ID")
@QueryField(type = QueryType.EQ)
private Integer equipmentId;
@ApiModelProperty(value = "设备名称")
private String equipmentName;
@ApiModelProperty(value = "头像")
private String equipmentAvatar;
@ApiModelProperty(value = "客户类型")
private String equipmentType;
@ApiModelProperty(value = "设备编码")
private String equipmentCode;
@ApiModelProperty(value = "主图视频ID")
@QueryField(type = QueryType.EQ)
private Integer videoId;
@ApiModelProperty(value = "主图视频ID")
@QueryField(type = QueryType.EQ)
private Integer videoCoverId;
@ApiModelProperty(value = "商品卖点")
private String sellingPoint;
@ApiModelProperty(value = "商品规格(10单规格 20多规格)")
@QueryField(type = QueryType.EQ)
private Integer specType;
@ApiModelProperty(value = "商品价格(最低)")
@QueryField(type = QueryType.EQ)
private BigDecimal equipmentPriceMin;
@ApiModelProperty(value = "商品价格(最高)")
@QueryField(type = QueryType.EQ)
private BigDecimal equipmentPriceMax;
@ApiModelProperty(value = "划线价格(最低)")
@QueryField(type = QueryType.EQ)
private BigDecimal linePriceMin;
@ApiModelProperty(value = "划线价格(最高)")
@QueryField(type = QueryType.EQ)
private BigDecimal linePriceMax;
@ApiModelProperty(value = "库存总量(包含所有sku)")
@QueryField(type = QueryType.EQ)
private Integer stockTotal;
@ApiModelProperty(value = "库存计算方式(10下单减库存 20付款减库存)")
@QueryField(type = QueryType.EQ)
private Integer deductStockType;
@ApiModelProperty(value = "商品详情")
private String content;
@ApiModelProperty(value = "初始销量")
@QueryField(type = QueryType.EQ)
private Integer salesInitial;
@ApiModelProperty(value = "实际销量")
@QueryField(type = QueryType.EQ)
private Integer salesActual;
@ApiModelProperty(value = "配送模板ID")
@QueryField(type = QueryType.EQ)
private Integer deliveryId;
@ApiModelProperty(value = "是否开启积分赠送(1开启 0关闭)")
@QueryField(type = QueryType.EQ)
private Integer isPointsGift;
@ApiModelProperty(value = "是否允许使用积分抵扣(1允许 0不允许)")
@QueryField(type = QueryType.EQ)
private Integer isPointsDiscount;
@ApiModelProperty(value = "积分抵扣设置(0默认抵扣 1单独设置抵扣)")
@QueryField(type = QueryType.EQ)
private Integer isAlonePointsDiscount;
@ApiModelProperty(value = "单独设置积分抵扣的配置")
private String pointsDiscountConfig;
@ApiModelProperty(value = "是否开启会员折扣(1开启 0关闭)")
@QueryField(type = QueryType.EQ)
private Integer isEnableGrade;
@ApiModelProperty(value = "会员折扣设置(0默认等级折扣 1单独设置折扣)")
@QueryField(type = QueryType.EQ)
private Integer isAloneGrade;
@ApiModelProperty(value = "单独设置折扣的配置")
private String aloneGradeEquity;
@ApiModelProperty(value = "是否推荐")
@QueryField(type = QueryType.EQ)
private Integer isHot;
@ApiModelProperty(value = "规格单位")
private String unit;
@ApiModelProperty(value = "商品优惠属性: 0无 1限时特惠 2特惠专区")
@QueryField(type = QueryType.EQ)
private Integer attribute;
@ApiModelProperty(value = "是否开启单独分销(0关闭 1开启)")
@QueryField(type = QueryType.EQ)
private Integer isIndDealer;
@ApiModelProperty(value = "分销佣金类型(10百分比 20固定金额)")
@QueryField(type = QueryType.EQ)
private Integer dealerMoneyType;
@ApiModelProperty(value = "分销佣金(一级)")
@QueryField(type = QueryType.EQ)
private BigDecimal firstMoney;
@ApiModelProperty(value = "分销佣金(二级)")
@QueryField(type = QueryType.EQ)
private BigDecimal secondMoney;
@ApiModelProperty(value = "分销佣金(三级)")
@QueryField(type = QueryType.EQ)
private BigDecimal thirdMoney;
@ApiModelProperty(value = "审核状态 (10待审核 20审核通过 30驳回)")
@QueryField(type = QueryType.EQ)
private Integer applyStatus;
@ApiModelProperty(value = "驳回原因")
private String rejectReason;
@ApiModelProperty(value = "置顶时间")
@QueryField(type = QueryType.EQ)
private Integer topTime;
@ApiModelProperty(value = "用户ID")
@QueryField(type = QueryType.EQ)
private Integer userId;
@ApiModelProperty(value = "所属门店ID")
@QueryField(type = QueryType.EQ)
private Integer shopId;
@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;
}