package org.dromara.mall.product.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.mall.product.domain.MallBrand;

/**
 * 品牌业务对象 mall_brand
 *
 * @author pengles
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MallBrand.class, reverseConvertGenerate = false)
public class MallBrandBo extends BaseEntity {

    /**
     * 品牌ID
     */
    private Long id;

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

    /**
     * 品牌Logo
     */
    private String logo;

    /**
     * 品牌描述
     */
    private String description;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态(0启用 1禁用)
     */
    @NotNull(message = "状态不能为空")
    private Integer status;

}
