How i can create a model of PostgreSql with a custom typeData array field

Hello, this is my first post here, sorry for my bad english i’m learing just now.

I’m know few things of Yii and MVC but, I don’t know how I’ll could make one model of one table when few field are of custom typeData :( ??? , for example:


ID (int) | field01 (userLogin[]) |

0 | Object |

Where, userlogin is:

date (Date)

token (varchar)

ip (varchar)

it’s a postgresql database, built using OOP principles.

then, i need process that in Yii, there are many tables with field with custom type data and array of custom type data.

Somebody could help me with that… I’ll be grateful.