package models

import "time"
type BannerType struct {
	ID       uint   `gorm:"primaryKey"`
	Name     string `json:"name"`
	AppID     uint      `gorm:"column:appId" json:"appId"`
	IsActive bool
	IsDelete  bool      `gorm:"column:isDelete" json:"isDelete"`
	CreatedAt time.Time `gorm:"column:created_at" json:"createdAt"`
	UpdatedAt time.Time `gorm:"column:updated_at" json:"updatedAt"`
}

func (BannerType) TableName() string {
	return "banner_types"
}