mirror of
https://github.com/fuckpiracyshield/data-model.git
synced 2024-05-20 05:56:18 +02: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)
|
|
]
|