mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
12 lines
408 B
Python
12 lines
408 B
Python
from dataclasses import dataclass
|
|
|
|
# Data class that defines a Special Interest Group.
|
|
@dataclass
|
|
class SIG:
|
|
# SIG name, e.g. "POTA"
|
|
name: str
|
|
# Description, e.g. "Parks on the Air"
|
|
description: str
|
|
# Icon to use for it, from the Font Awesome set. This is fairly opinionated but is here to help the Spothole web UI
|
|
# and Field Spotter. Does not include the "fa-" prefix.
|
|
icon: str |