package com.cool.store.vo.store;

import com.cool.store.enums.StoreStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 门店列表VO
 * </p>
 *
 * @author wangff
 * @since 2025/12/29
 */
@Data
public class StoreListVO {
    @ApiModelProperty("门店ID")
    private String storeId;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("门店编号")
    private String storeNum;

    @ApiModelProperty("门店状态")
    private String storeStatus;

    @ApiModelProperty("门店状态名称")
    private String storeStatusName;

    @ApiModelProperty("门店积分")
    private BigDecimal score;

    public String getStoreStatusName() {
        return StoreStatusEnum.getName(this.storeStatus);
    }
}
