# encoding: UTF-8 # frozen_string_literal: true module API module V2 module Entities class Bonus < Base expose( :bonus_member_id, as: :uid, documentation: { desc: 'user_uid.', type: String } ) expose( :amount, format_with: :decimal, documentation: { desc: 'Bonus account', type: BigDecimal } ) expose( :created_at, as: :date, format_with: :iso8601, documentation: { desc: 'created date', type: Date } ) end end end end