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:26
 */
@Data
@Schema(description = "修改门店信息类型参数DTO")
public class EditStoreTypeDTO {
    @Schema(description = "ID")
    @NotNull(message = "ID不能为空")
    private Long id;

    @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;
}
