Passing parameters to DRP entities?

I have an entity which will have multiple types. For example, rather than having multiple entities like blue_coat, red_coat, yellow_coat, you could have one entity called coat and then pass a parameter in addentities.lua to define the color. How would I go about doing about it and printing the passed value in the entity?

DarkRP does not seem to have this by default, but, something like this may work:

DarkRP.createEntity("Red Coat", {stuff})

hook.Add("playerBoughtCustomEntity", "SetupCoatItem", function(ply, tbl, ent)
	if == "Red Coat" then
		ent.color = Color(255,0,0)