mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
8 lines
152 B
Ruby
8 lines
152 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class Area < ApplicationRecord
|
||
|
|
belongs_to :user
|
||
|
|
|
||
|
|
validates :name, :latitude, :longitude, :radius, presence: true
|
||
|
|
end
|