Commit 2a1e79f
committed
Add validation for coupon description in BmsCoupon model
- Introduced a new field validator for the "description" field in the BmsCoupon class.
- Ensures that the description is limited to a maximum of 12 characters, enhancing input validation and error handling.1 parent c04acf0 commit 2a1e79f
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
0 commit comments