class Issues::UpdateForm
  include ActiveModel::Model

  attr_accessor :subject, :description

  validates :subject, presence: { message: "不能为空" }

  validates :subject, length: { maximum: 200, too_long: "不能超过200个字符" }

  validates :description, length: { maximum: 65535, too_long: "不能超过65535个字符"}

end