# Path: wham/fields.py
# class WhamTextField(WhamFieldMixin, models.TextField):
# 
#     @property
#     def type_repr(self):
#         return 'text'
# 
# class WhamIntegerField(WhamFieldMixin, models.IntegerField):
# 
#     @property
#     def type_repr(self):
#         return 'integer'
# 
# class WhamFloatField(WhamFieldMixin, models.FloatField):
# 
#     @property
#     def type_repr(self):
#         return 'float'
# 
# class WhamCharField(WhamFieldMixin, models.TextField):
# 
#     @property
#     def type_repr(self):
#         return 'char'
# 
# Path: wham/models.py
# class WhamModel(models.Model):
# 
#     objects = WhamManager()
# 
#     class Meta():
#         abstract = True


from django.db import models
from wham.fields import WhamTextField, WhamIntegerField, WhamFloatField, \
    WhamCharField
from wham.models import WhamModel


class DeezerMeta:
    base_url = 'http://api.deezer.com/'
    # pk_property = 'id'

class DeezerTrack(WhamModel):


# Path: wham/fields.py
# class WhamTextField(WhamFieldMixin, models.TextField):
# 
#     @property
#     def type_repr(self):
#         return 'text'
# 
# class WhamIntegerField(WhamFieldMixin, models.IntegerField):
# 
#     @property
#     def type_repr(self):
#         return 'integer'
# 
# class WhamFloatField(WhamFieldMixin, models.FloatField):
# 
#     @property
#     def type_repr(self):
#         return 'float'
# 
# class WhamCharField(WhamFieldMixin, models.TextField):
# 
#     @property
#     def type_repr(self):
#         return 'char'
# 
# Path: wham/models.py
# class WhamModel(models.Model):
# 
#     objects = WhamManager()
# 
#     class Meta():
#         abstract = True


# Path: wham/apis/deezer/models.py
from django.db import models
from wham.fields import WhamTextField, WhamIntegerField, WhamFloatField, \
    WhamCharField
from wham.models import WhamModel



class DeezerMeta:
    base_url = 'http://api.deezer.com/'
    # pk_property = 'id'

class DeezerTrack(WhamModel):


    id = WhamCharField(max_length=255, primary_key=True)