# -*- coding: utf-8 -*-
from __future__ import unicode_literals

import xadmin
from .models import EmailVerifyRecord


# Register your models here.

class EmailVerifyRecordAdmin(object):
    list_display = ['code', 'email', 'send_type', 'send_time']
    search_fields = ['code', 'email', 'send_type']
    list_filter = ['code', 'email', 'send_type', 'send_time']


xadmin.site.register(EmailVerifyRecord, EmailVerifyRecordAdmin)
