# frozen_string_literal: true require_relative '../types/std' require_relative '../types/extras' require_relative '../entity' autoload :Observation, 'inat/data/entity/observation' autoload :User, 'inat/data/entity/user' class Flag < Entity table :flags field :flag, type: String, required: true field :created_at, type: Time field :updated_at, type: Time field :user, type: User, index: true, required: true field :resolved, type: Boolean, index: true field :resolver, type: User, index: true field :comment, type: String end