Packages

Reyden-X is an automated service for promoting live broadcasts on external sites with integrated system of viewers and views management

Current section

Files

Jump to
reydenx lib reydenx model price.ex
Raw

lib/reydenx/model/price.ex

defmodule Reydenx.Model.Price do
alias Reydenx.Model.MinMaxStep
@derive {Jason.Encoder,
only: [
:id,
:name,
:format,
:price,
:description,
:category_id,
:views,
:online_viewers
]}
defstruct [
:id,
:name,
:format,
:price,
:description,
:category_id,
views: %MinMaxStep{},
online_viewers: %MinMaxStep{}
]
end