// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
// @generated from file entities/city.proto (syntax proto3)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { Timestamp } from "../common_pb";
import { file_common } from "../common_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file entities/city.proto.
 */
export const file_entities_city: GenFile = /*@__PURE__*/
  fileDesc("ChNlbnRpdGllcy9jaXR5LnByb3RvIp4BCgRDaXR5EgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSFAoMY291bnRyeV9jb2RlGAMgASgJEhMKC2FpcnBvcnRfaWRzGAQgAygJEhEKCXJlbGV2YW5jZRgFIAEoBRIeCgpjcmVhdGVkX2F0GAYgASgLMgouVGltZXN0YW1wEh4KCnVwZGF0ZWRfYXQYByABKAsyCi5UaW1lc3RhbXBiBnByb3RvMw", [file_common]);

/**
 * @generated from message City
 */
export type City = Message<"City"> & {
  /**
   * @generated from field: string id = 1;
   */
  id: string;

  /**
   * @generated from field: string name = 2;
   */
  name: string;

  /**
   * @generated from field: string country_code = 3;
   */
  countryCode: string;

  /**
   * @generated from field: repeated string airport_ids = 4;
   */
  airportIds: string[];

  /**
   * @generated from field: int32 relevance = 5;
   */
  relevance: number;

  /**
   * @generated from field: Timestamp created_at = 6;
   */
  createdAt?: Timestamp | undefined;

  /**
   * @generated from field: Timestamp updated_at = 7;
   */
  updatedAt?: Timestamp | undefined;
};

/**
 * Describes the message City.
 * Use `create(CitySchema)` to create a new message.
 */
export const CitySchema: GenMessage<City> = /*@__PURE__*/
  messageDesc(file_entities_city, 0);

