// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
// @generated from file entities/model.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/model.proto.
 */
export const file_entities_model: GenFile = /*@__PURE__*/
  fileDesc("ChRlbnRpdGllcy9tb2RlbC5wcm90byLsAQoFTW9kZWwSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRpYXRhGAMgASgJEhEKBGljYW8YBCABKAlIAIgBARIUCgxtYW51ZmFjdHVyZXIYBSABKAkSHgoKY3JlYXRlZF9hdBgGIAEoCzIKLlRpbWVzdGFtcBIeCgp1cGRhdGVkX2F0GAcgASgLMgouVGltZXN0YW1wEh8KEnBhc3Nlbmdlcl9jYXBhY2l0eRgJIAEoDUgBiAEBEhEKCWZ1bGxfbmFtZRgKIAEoCUIHCgVfaWNhb0IVChNfcGFzc2VuZ2VyX2NhcGFjaXR5YgZwcm90bzM", [file_common]);

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

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

  /**
   * @generated from field: string iata = 3;
   */
  iata: string;

  /**
   * @generated from field: optional string icao = 4;
   */
  icao?: string | undefined;

  /**
   * @generated from field: string manufacturer = 5;
   */
  manufacturer: string;

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

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

  /**
   * @generated from field: optional uint32 passenger_capacity = 9;
   */
  passengerCapacity?: number | undefined;

  /**
   * @generated from field: string full_name = 10;
   */
  fullName: string;
};

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

