CodeTheChangeUBC/reBOOT

View on GitHub
app/enums/item_status_enum.py

Summary

Maintainability
A
0 mins
Test Coverage
from .resource_enum import ResourceEnum


class ItemStatusEnum(ResourceEnum):
    PLEDGED = "Pledged"
    RECEIVED = "Received"
    TESTED = "Tested"
    REFURBISHED = "Refurbished"
    SOLD = "Sold"
    RECYCLED = "Recycled"

    @classmethod
    def default(cls):
        return "PLEDGED"