require "uuid" class Column JSON.mapping({ id: String, name: String }) def initialize(@name) @id = UUID.random.to_s end end