/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto.product;

import lombok.Data;
import java.math.BigDecimal;

import cn.ysk.cashier.annotation.Query;

import static cn.ysk.cashier.annotation.Query.Type.INNER_LIKE;

/**
* @website https://eladmin.vip
* @author lyf
* @date 2023-12-11
**/
@Data
public class TbProductQueryCriteria{

    /** 精确 */
    @Query
    private Integer id;

    /** 精确 */
    @Query
    private String shopId;

    /** 精确 */
    @Query(type = INNER_LIKE)
    private String name;

    @Query
    private String categoryId;

    /** 精确 */
    @Query
    private BigDecimal packFee;

    /** 精确 */
    @Query
    private BigDecimal lowPrice;

    /** 精确 */
    @Query
    private String unitId;

    /** 精确 */
    @Query
    private String coverImg;

    /** 精确 */
    @Query
    private Integer specId;

    /** 精确 */
    @Query
    private Integer brandId;

    /** 精确 */
    @Query
    private String images;

    /** 精确 */
    @Query
    private String videoCoverImg;

    /** 精确 */
    @Query
    private Integer status =1;

    /** 精确 */
    @Query
    private Integer isDel;

    /** 精确 */
    @Query
    private Integer isFreeFreight;

    /** 精确 */
    @Query
    private Integer isDelete;

    /** 精确 */
    @Query
    private Double baseSalesNumber;

    /** 精确 */
    @Query
    private Integer realSalesNumber;

    /** 精确 */
    @Query
    private Integer salesNumber;

    /** 精确 */
    @Query
    private Integer thumbCount;

    /** 精确 */
    @Query
    private Integer storeCount;

    /** 精确 */
    @Query
    private Integer furnishMeal;

    /** 精确 */
    @Query
    private Integer furnishExpress;

    @Query
    private String typeEnum;

    private Integer page;

    private Integer size;

    private String sort;
}