package com.jeesharp.business.modules.mall.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品品牌保存请求 DTO，用于管理端新增或更新品牌。
 *
 * @author jeesharp
 * @since 2026-05-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MallBrandSaveDTO extends BaseSaveDTO {

    @NotBlank(message = "品牌名称不能为空")
    private String brandName;

    private String brandCode;

    private String brandLogo;

    private String brandDesc;

    private String firstLetter;

    private Integer sortOrder;

    @NotNull(message = "状态不能为空")
    private Integer status;
}
