#!/usr/bin/env python # -*- encoding: utf-8 -*- from .base import Model __all__ = ('Plan', 'User') class Plan(Model): def __str__(self): return '' % getattr(self, 'name', '') class User(Model): """ """ _maps = {'plan': Plan} _dates = ('created_at', ) def __str__(self): return '' % getattr(self, 'login', '')