Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Asisyas authored Feb 16, 2023
1 parent 8ee9678 commit e674b77
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ composer require micro/dto
<property name="email" type="string">
<validation>
<not_blank/>
<length min="6" max="50"/>
<regex pattern="/^(.[aA-zA]+)$/"/>
<email/>
</validation>
</property>
<property name="username" type="string">
<validation>
<length min="6" max="50"/>
<regex pattern="/^(.[aA-zA]+)$/"/>
</validation>
</property>
<property name="age" type="int">
<validation>
<not_blank groups="put"/>
Expand Down

0 comments on commit e674b77

Please sign in to comment.