/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: StoreInfoRequestDto
 * @Package cn.freemud.entities.dto
 * @Description:
 * @author: ping.wu
 * @date: 2018/5/14 16:42
 * @version V1.0
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
package cn.freemud.entities.dto.store;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class StoreInfoRequestDto {

    private String partnerId;

    private String storeCode;

    private QueryInfo query;

    /**
     * 用户收货地址经度
     */
    private String userLongitude;

    /**
     * 用户收货地址维度
     */
    private String userLatitude;

    public StoreInfoRequestDto(String partnerId, String storeCode) {
        this.partnerId = partnerId;
        this.storeCode = storeCode;
    }

    @Data
    public static class QueryInfo{
        /**
         * 查询门店基本信息
         */
        private Boolean queryStoreInfo;
        /**
         * 查询门店的渠道上级列表
         */
        private Boolean queryParentUntilTop;
        /**
         * 查询配送设置信息
         */
        private Boolean queryDeliveryInfo;
        /**
         * 查询业务设置信息
         */
        private Boolean queryBusinessInfo;
        /**
         * 查询门店图片
         */
        private Boolean queryStoreImage;
        /**
         * 查询门店繁忙时间
         */
        private Boolean queryStoreBusyTime;
    }

}
