package com.seer.teach.mall.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * @Author: 嘉多宝宝
 * @Data: 2025-06-12 11:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "新增商品属性种类请求参数")
public class AttributeCategoryUpdateReq {

    @Schema(description = "Id")
    @NotNull(message = "Id不能为空")
    private Integer id;

    @Schema(description = "商品属性种类名称")
    @NotBlank(message = "商品属性种类名称不能为空")
    private String name;

    @Schema(description = "1开启,0关闭")
    @NotNull(message = "状态不能为空")
    private Integer enabled;
}
