olesyat/Ternopil

ProjectType Issue

Opened this issue · 0 comments

Description

We will need to add/define a new ProjectType to correctly classify our projects.

Expected outcome

ProjectType can be created, ProjectType name should not permit spaces and have the maximum length of 5 characters, User should be able to provide a description but it is not mandatory.

To do:

  • Create a new Entity ProjectType with properties 'name', 'desc'

  • Create two validators 'ShorterThanValidator', 'NoSpacesAllowedValidatorProjectType'

  • Make 'desc' Property optional