I have a table which has a enum property, and I'm wondering how to present it in a Model class.
Actually, I'm building a Model class, for which I will create migrations simultaneously, and that migration than needs to create a table with enum property. So how to present that enum in Model since PHP doesn't have enum. I mean I don't exactly know how Laravel works (have just started with it), but I think you get me.
I've just heard some advice such as an enum being a great property to use, but I'll use it anyway. The database tables are preconditioned so I have to do it like that.
So how to do that?