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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author haoxuyang
 * @Date 2024/10/11 14:23
 */
@Data
@Schema(description = "门店类型信息添加参数DTO")
public class AddStoreTypeDTO {

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

    @Schema(description = "门店类型名称")
    @NotEmpty(message = "门店类型名称不能为空")
    private String name;

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

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

    @Schema(description = "排序")
    private Integer sort;
}
