Commit e26d672b by Patryk Czarnik

drobnostki

parent 42a90ba7
...@@ -4,7 +4,6 @@ import java.math.BigDecimal; ...@@ -4,7 +4,6 @@ import java.math.BigDecimal;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
import javax.servlet.http.HttpSession;
import javax.validation.Valid; import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
...@@ -31,7 +31,7 @@ public class Product implements Serializable { ...@@ -31,7 +31,7 @@ public class Product implements Serializable {
@Column(name="product_name") @Column(name="product_name")
@NotNull @NotNull
@Size(min=3, max=10) @Size(min=2, max=50)
private String productName; private String productName;
@Min(0) @Min(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment