Does MappedDateTime do what you want? Also look at MappedEnum for the status
On Feb 21, 2010, at 6:07 AM, Hannes wrote: > Hi Lifters, > > > I'm using Mapper with Lift 1.1-M7 and I need to have some information about > time. > > Especially I wanna store a time-stamp for a status field that can have three > values: NEW; OPEN; CLOSED; > > So, what I thought about was defining two new fields open_time and close_time > that I'd use to filter/sort items. > > > thanks for any ideas! > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
