mirror of
https://github.com/fuckpiracyshield/data-model.git
synced 2024-11-10 16:07:10 +01:00
16 lines
421 B
Python
16 lines
421 B
Python
|
from piracyshield_component.validation.rules.required import Required
|
||
|
from piracyshield_component.validation.rules.string import String
|
||
|
from piracyshield_component.validation.rules.length import Length
|
||
|
|
||
|
class TicketItemUnprocessedRule:
|
||
|
|
||
|
"""
|
||
|
Set of rules for unprocessed ticket item status.
|
||
|
"""
|
||
|
|
||
|
NOTE = [
|
||
|
Required(),
|
||
|
String(' .,-&/$€@"'),
|
||
|
Length(minimum = 3, maximum = 512)
|
||
|
]
|