package com.cool.store.vo.close.store;

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

import java.util.Date;

/**
 * <p>
 * mini闭店申请简单信息VO
 * </p>
 *
 * @author wangff
 * @since 2025/10/9
 */
@Data
public class MiniCloseStoreSimpleVO {
    @ApiModelProperty("闭店申请id")
    private Long id;

    @ApiModelProperty("闭店申请单号")
    private String closeStoreNo;

    @ApiModelProperty("门店id")
    private String storeId;

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

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

    @ApiModelProperty("闭店状态")
    private Integer closeStatus;

    @ApiModelProperty("闭店状态名称")
    private String closeStatusName;

    @ApiModelProperty("闭店发起方式 1-主动发起 2-云流水发起")
    private Integer closeType;

    @ApiModelProperty("计划闭店时间")
    private Date planCloseData;

    @ApiModelProperty("申请日期")
    private Date createTime;

    public String getCloseStatusName() {
        return CloseStoreStatusEnum.getNameByStatus(closeStatus);
    }
}
