/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("店铺收藏对象")
@Data
public class UserCollectionShopDto {

    @ApiModelProperty(value = "收藏id")
    private Long collectionId;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @JsonSerialize(using = ImgJsonSerializer.class)
    @ApiModelProperty(value = "店铺logo图片")
    private String shopLogo;

    @ApiModelProperty(value = "收藏时间")
    private Date createTime;

}
