Packages
ami_models
0.1.0
Package containing all AMI Models shared between micro-services.
Retired package: Deprecated - faulty
Current section
Files
Jump to
Current section
Files
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