package ru.yandex.direct.infrastructure.mysql.column_types

import org.jetbrains.exposed.sql.Column
import org.jetbrains.exposed.sql.Table
import ru.yandex.direct.domain.adgroup.AdGroupID

fun Table.adGroupId(name: String): Column<AdGroupID> = longWrapper(name, ::AdGroupID, AdGroupID::value)
