foodsoft/plugins/messages/app/models/message_recipient.rb

6 lines
138 B
Ruby

class MessageRecipient < ActiveRecord::Base
belongs_to :message
belongs_to :user
enum email_state: [:pending, :sent, :skipped]
end