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

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

/**
 * <p>
 * 闭店账号VO
 * </p>
 *
 * @author wangff
 * @since 2025/10/8
 */
@Data
public class CloseStoreAccountVO {
    @ApiModelProperty("id")
    private Long id;
    
    @ApiModelProperty("账号名称")
    private String systemName;

    @ApiModelProperty("系统code")
    private String systemCode;
    
    @ApiModelProperty("账号分类，0-IT账号，1-外卖账号")
    private Integer accountType;

    @ApiModelProperty("账号分类")
    private String accountTypeName;
    
    @ApiModelProperty("账号状态，1-使用中, 2-已关闭, 3-关闭中")
    private Integer status;

    @ApiModelProperty("关闭类型，0直接关闭，1申请关闭")
    private Integer closeType;

    public String getAccountTypeName() {
        return CloseStoreAccountTypeEnum.getMsgByType(accountType);
    }
}
