package com.xiaoniu.system.platformsettings.storetype.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/10/11 14:21
 */
@Data
@Schema(description = "门店类型信息列表响应参数VO")
public class StoreTypeListVO {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "父id")
    private Long parentId;

    @Schema(description = "门店类型名称")
    private String name;

    @Schema(description = "门店类型状态（1-展示 2-隐藏）")
    private Integer status;

    @Schema(description = "图片")
    private String picture;

    @Schema(description = "已经开店数量")
    private Integer storesOpenedNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "子数据")
    private List<StoreTypeListVO> children;
}
