Packages

Package containing all AMI Models shared between micro-services.

Retired package: Deprecated - faulty

Current section

Files

Jump to
ami_models lib ami job.ex
Raw

lib/ami/job.ex

defmodule Ami.Job do
use Ecto.Schema
# import Ecto.Query
alias Ami.{
Profile
}
schema "jobs" do
field(:role, :string)
field(:company_name, :string)
field(:company_url, :string)
field(:date_start, :date)
field(:date_end, :date)
field(:company_logo, :string)
field(:industry, :string)
field(:current, :boolean)
field(:description, :string)
field(:created_at, :utc_datetime)
field(:updated_at, :utc_datetime)
belongs_to(:profile, Profile)
end
end