summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-04-06 19:53:06 -0400
committerDavid Gay <david@davidgay.org>2021-04-06 19:53:06 -0400
commit1d3c909a2fe818935afc7b4b60ea31c2cf3852fd (patch)
treefec13a991ea3f50f4fc92833e1a100a73a421fbd /app
parentd24f83582d83cb4d296ab98923f4d7062611265d (diff)
PTU types
Diffstat (limited to 'app')
-rw-r--r--app/models/ptu_type.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/ptu_type.rb b/app/models/ptu_type.rb
new file mode 100644
index 0000000..52a2e99
--- /dev/null
+++ b/app/models/ptu_type.rb
@@ -0,0 +1,3 @@
+class PtuType < ApplicationRecord
+ validates :name, presence: true
+end