注解:@Validated
实体类:
package com.nanjing.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nanjing.common.valid.ListValue;
import com.nanjing.common.valid.UpdateStatusGroup;
import com.nanjing.common.valid.AddGroup;
import com.nanjing.common.valid.UpdateGroup;
import lombok.Data;
import org.hibernate.validator.constraints.URL;
import javax.validation.constraints.*;
import java.io.Serializable;
/**
* 品牌
*
* @author zhouvip
* @email zhouvip@qq.com
* @date 2023-02-05 10:43:23
*/
@Data
@TableName("pms_brand")
public class BrandEntity implements Se