2019-02-20 16:29:48 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Ci
|
2021-08-03 02:08:50 -04:00
|
|
|
class PipelineChatData < Ci::ApplicationRecord
|
|
|
|
include Ci::NamespacedModelName
|
|
|
|
|
2019-02-20 16:29:48 -05:00
|
|
|
self.table_name = 'ci_pipeline_chat_data'
|
|
|
|
|
|
|
|
belongs_to :chat_name
|
|
|
|
|
|
|
|
validates :pipeline_id, presence: true
|
|
|
|
validates :chat_name_id, presence: true
|
|
|
|
validates :response_url, presence: true
|
|
|
|
end
|
|
|
|
end
|