# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ class Trigger < ApplicationModel include ChecksConditionValidation include ChecksHtmlSanitized include ChecksPerformValidation include CanSeed include Trigger::Assets store :condition store :perform validates :name, presence: true sanitized_html :note end