package com.m2pool.lease.dto;

import com.m2pool.lease.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * <p>
 * 店铺表
 * </p>
 *
 * @author yyb
 * @since 2025-08-05
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "店铺返回对象",value = "ShopDto")
public class ShopDto {

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

    /**
     * 店铺名称
     */
    @ApiModelProperty(value = "店铺名称")
    private String name;

    /**
     * 店铺图片路径
     */
    @ApiModelProperty(value = "店铺图片路径")
    private String image;

    /**
     * 店铺描述
     */
    @ApiModelProperty(value = "店铺描述")
    private String description;

    /**
     * 商铺状态 0 待审核 1 审核通过(店铺开启) 2 店铺关闭
     */
    @ApiModelProperty(value = "商铺状态 0 待审核 1 审核通过(店铺开启) 2 店铺关闭")
    private Integer state;
    /**
     * 逻辑删除字段
     */
    @ApiModelProperty(value = "逻辑删除字段")
    private Boolean del;


    @ApiModelProperty(value = "店铺手续费比例 范围0.01-0.1",example = "0.01")
    private BigDecimal feeRate;
}
