package net.ferrum.business.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import net.ferrum.common.core.validate.AddGroup;
import net.ferrum.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;

import net.ferrum.common.core.domain.BaseEntity;

/**
 * 规格参数值业务对象 qs_spec_attribute_values
 *
 * @author ruoyi
 * @date 2025-07-19
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class QsSpecAttributeValuesBo extends BaseEntity {

    /**
     * 规格参数值ID
     */
    @NotNull(message = "规格参数值ID不能为空", groups = { EditGroup.class })
    private Long valueId;

    /**
     * 规格参数类型ID
     */
    @NotNull(message = "规格参数类型ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long typeId;

    /**
     * 规格参数具体值
     */
    @NotBlank(message = "规格参数具体值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String value;

    /**
     * 备注
     */
    private String remark;


    /**
     * 批次名称
     */
    @TableField(exist = false)
    private String batchName;


}
