package com.ruoyi.clock.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品信息业务对象 tb_product
 *
 * @author pengc
 * @date 2026-03-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("产品信息业务对象")
public class ProductBo extends BaseEntity {

    @ApiModelProperty(value = "产品id", required = true)
    private Long productId;
    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称", required = true)
    @NotBlank(message = "产品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productName;


}
