mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
7 lines
152 B
Ruby
7 lines
152 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Area < ApplicationRecord
|
|
belongs_to :user
|
|
|
|
validates :name, :latitude, :longitude, :radius, presence: true
|
|
end
|