#!/usr/bin/env python
# -*- coding:utf-8 -*-

from gm_dataquery.db import DB
from gm_dataquery.dataquery import DataBuilder, DataSQLQuery

from api.models import CouponChannel


@DB
class ChannelDQ(DataSQLQuery):
    model = CouponChannel
    data_model = DataBuilder
