 #  Product entity
 #  ############
 jpa-new-entity --named Product ;
-jpa-new-field --named name --length 30 ;
-jpa-new-field --named description --length 3000 ;
+jpa-new-field --named name --length 30 --not-nullable ;
+jpa-new-field --named description --length 3000 --not-nullable ;
 # Relationships
 jpa-new-field --named category --type org.jboss.forge.hol.petstore.model.Category --relationshipType Many-to-One ;
 # Constraints

#  Address embeddable
#  ############
jpa-new-embeddable --named Address ;
jpa-new-field --named street1 --length 50 ;
jpa-new-field --named street2 ;
jpa-new-field --named city  --length 50 ;
jpa-new-field --named state ;
jpa-new-field --named zipcode --columnName zip_code --length 10 ;
# Relationships
jpa-new-field --named country --type org.jboss.forge.hol.petstore.model.Country --relationshipType Many-to-One
# Constraints

#  Customer entity
#  ############
jpa-new-entity --named Customer ;
jpa-new-field --named login --length 10 --not-nullable ;
jpa-new-field --named password --length 256 --not-nullable ;
jpa-new-field --named firstName --length 50 --columnName first_name --not-nullable ;
jpa-new-field --named lastName --length 50 --columnName last_name --not-nullable ;
jpa-new-field --named telephone ;
jpa-new-field --named email ;
jpa-new-field --named dateOfBirth --type java.util.Date --temporalType DATE --columnName date_of_birth ;
