Commit 3a7732cc by tyfanchz

去除商品简介的校验

1 parent de88712f
...@@ -37,7 +37,6 @@ public class Goods extends BaseEntity { ...@@ -37,7 +37,6 @@ public class Goods extends BaseEntity {
@ManyToOne(fetch = FetchType.LAZY) @ManyToOne(fetch = FetchType.LAZY)
private Category category; private Category category;
@Column(columnDefinition = "VARCHAR(255) COMMENT '产品简介'") @Column(columnDefinition = "VARCHAR(255) COMMENT '产品简介'")
@NotBlank(message = "商品简介不能为空")
private String descript; private String descript;
@Column(columnDefinition = "TEXT COMMENT '产品详情'") @Column(columnDefinition = "TEXT COMMENT '产品详情'")
private String detail; private String detail;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!