package com.sckw.product.model.vo.req;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

/**
 * @desc: 添加商品属性
 * @author: yzc
 * @date: 2023-07-03 8:39
 */
@Getter
@Setter
@ToString
public class GoodsAttributes {

    /**
     * 参数名称
     */
    @Length(max = 10,message = "参数名称最长10字符")
    private String name;

    /**
     * 参数值
     */
    @Length(max = 20,message = "参数值最长20字符")
    private String val;
}
