package org.dromara.zhishu.domain.dto.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ErpBaseShopPageGetRequest {

    // 每页大小,最大50
    private Integer limit = 1;

    // 当前页码，从1开始
    private Integer page = 20;

    // 店铺昵称
    @JsonProperty("shop_nick")
    private String shopNick;

    // 店铺类型
    @JsonProperty("shop_type")
    private Integer shopType;

    // 扩展查询条件
    @JsonProperty("shop_ext")
    private ShopExt shopExt;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ShopExt {

        // 修改时间
        @JsonProperty("modify_time")
        private String modifyTime;

        // 店铺状态 0 禁用; 1 启用
        private Integer status;

    }

}
