from . import models as mdm_models
from django.contrib import admin


# Register your models here.

@admin.register(mdm_models.AirportModel)
class AirportAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.BagTypeModel)
class BagTypeAdmin(admin.ModelAdmin):
    fields = ('display_name', 'weight', 'description', 'code')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'weight', 'description']

@admin.register(mdm_models.BoardModel)
class BoardAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.FlightProviderModel)
class FlightProviderAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.HotelModel)
class HotelAdmin(admin.ModelAdmin):
    fields = ('display_name', 'stars', 'description', 'code')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'stars', 'description']


@admin.register(mdm_models.MarketModel)
class MarketAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.RoomTypeModel)
class RoomTypeAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.SupplierModel)
class SupplierAdmin(admin.ModelAdmin):
    fields = ('code', 'portal', 'display_name', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'portal', 'description']

ce23a10ceaa0af6fb0bf694ff3debbdd5e0f8273
<mask token>


@admin.register(mdm_models.HotelModel)
class HotelAdmin(admin.ModelAdmin):
    fields = 'display_name', 'stars', 'description', 'code'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'stars', 'description']


@admin.register(mdm_models.MarketModel)
class MarketAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.RoomTypeModel)
class RoomTypeAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.SupplierModel)
class SupplierAdmin(admin.ModelAdmin):
    fields = 'code', 'portal', 'display_name', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'portal', 'description']

<mask token>


@admin.register(mdm_models.BagTypeModel)
class BagTypeAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>


@admin.register(mdm_models.BoardModel)
class BoardAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.FlightProviderModel)
class FlightProviderAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.HotelModel)
class HotelAdmin(admin.ModelAdmin):
    fields = 'display_name', 'stars', 'description', 'code'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'stars', 'description']


@admin.register(mdm_models.MarketModel)
class MarketAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.RoomTypeModel)
class RoomTypeAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.SupplierModel)
class SupplierAdmin(admin.ModelAdmin):
    fields = 'code', 'portal', 'display_name', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'portal', 'description']

<mask token>


@admin.register(mdm_models.AirportModel)
class AirportAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>


@admin.register(mdm_models.BagTypeModel)
class BagTypeAdmin(admin.ModelAdmin):
    fields = 'display_name', 'weight', 'description', 'code'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'weight', 'description']


@admin.register(mdm_models.BoardModel)
class BoardAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.FlightProviderModel)
class FlightProviderAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.HotelModel)
class HotelAdmin(admin.ModelAdmin):
    fields = 'display_name', 'stars', 'description', 'code'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'stars', 'description']


@admin.register(mdm_models.MarketModel)
class MarketAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.RoomTypeModel)
class RoomTypeAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.SupplierModel)
class SupplierAdmin(admin.ModelAdmin):
    fields = 'code', 'portal', 'display_name', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'portal', 'description']

from . import models as mdm_models
from django.contrib import admin


@admin.register(mdm_models.AirportModel)
class AirportAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.BagTypeModel)
class BagTypeAdmin(admin.ModelAdmin):
    fields = 'display_name', 'weight', 'description', 'code'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'weight', 'description']


@admin.register(mdm_models.BoardModel)
class BoardAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.FlightProviderModel)
class FlightProviderAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.HotelModel)
class HotelAdmin(admin.ModelAdmin):
    fields = 'display_name', 'stars', 'description', 'code'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'stars', 'description']


@admin.register(mdm_models.MarketModel)
class MarketAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.RoomTypeModel)
class RoomTypeAdmin(admin.ModelAdmin):
    fields = 'display_name', 'code', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.SupplierModel)
class SupplierAdmin(admin.ModelAdmin):
    fields = 'code', 'portal', 'display_name', 'description'
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'portal', 'description']

from . import models as mdm_models
from django.contrib import admin


# Register your models here.

@admin.register(mdm_models.AirportModel)
class AirportAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.BagTypeModel)
class BagTypeAdmin(admin.ModelAdmin):
    fields = ('display_name', 'weight', 'description', 'code')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'weight', 'description']

@admin.register(mdm_models.BoardModel)
class BoardAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.FlightProviderModel)
class FlightProviderAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.HotelModel)
class HotelAdmin(admin.ModelAdmin):
    fields = ('display_name', 'stars', 'description', 'code')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'stars', 'description']


@admin.register(mdm_models.MarketModel)
class MarketAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.RoomTypeModel)
class RoomTypeAdmin(admin.ModelAdmin):
    fields = ('display_name', 'code', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'description']


@admin.register(mdm_models.SupplierModel)
class SupplierAdmin(admin.ModelAdmin):
    fields = ('code', 'portal', 'display_name', 'description')
    icon = '<i class="material-icons">attachment</i>'
    list_display = ['id', 'code', 'display_name', 'portal', 'description']
