package com.tmerclub.cloud.cuerecycle.model.dto;

import com.tmerclub.cloud.common.validate.AddGroup;
import com.tmerclub.cloud.common.validate.EditGroup;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 球杆品牌对象
 *
 * @author :  frank
 * @create :  2025-04-13
 */
@Data
public class CueBrandDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 品牌ID
     */
    @NotNull(message = "品牌ID不能为空", groups = {EditGroup.class})
    private Long brandId;
    /**
     * 品牌名称
     */
    @NotBlank(message = "品牌名称不能为空", groups = {AddGroup.class})
    private String brandName;
    /**
     * 品牌logo
     */
    @NotBlank(message = "品牌Logo不能为空", groups = {AddGroup.class})
    private String brandLogo;
    /**
     * 排序
     */
    private Integer brandSeq;
    /**
     * 状态：0-禁用，1-启用
     */
    private Integer brandStatus;
    /**
     * 删除状态 0-未删除 1-已删除
     */
    private Integer deleted;
}