
enum Industry {
  hospitality('hospitality'),
  foodService('food_service'),
  warehouse('warehouse'),
  events('events'),
  retail('retail'),
  healthcare('healthcare'),
  other('other');

  final String value;
  const Industry(this.value);

  static Industry? fromString(String value) {
    try {
      return Industry.values.firstWhere((e) => e.value == value);
    } catch (_) {
      return null;
    }
  }
}
