# frozen_string_literal: true class Character < ApplicationRecord belongs_to :table, optional: true belongs_to :game_system belongs_to :user validates :name, presence: true, length: { maximum: 200 } end