|
@@ -7,7 +7,6 @@ import lombok.experimental.Accessors;
|
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
@@ -79,5 +78,6 @@ public class GoodsSaveDTO implements Serializable
|
|
|
* 简介
|
|
|
*/
|
|
|
@ApiModelProperty(value = "简介")
|
|
|
+ @Length(max = 200, message = "简介不能超过200长度")
|
|
|
private Long introduction;
|
|
|
}
|