Packages

SCM Supply Chain Management

Current section

Files

Jump to
scm include material.hrl
Raw

include/material.hrl

-ifndef(MATERIAL_HRL).
-define(MATERIAL_HRL, true).
-type materialType() :: copper | silver | gold | iron | aluminium.
-type granularity() :: kg | tonn.
-record('Material', { id = [] :: [] | binary(),
prev = [] :: [] | binary(),
next = [] :: [] | binary(),
name = [] :: [] | binary(),
units = [] :: [] | granularity(),
amount = [] :: [] | integer(),
qualily = [] :: [] | integer(),
type = [] :: materialType() }).
-endif.