package models

import "time"

type DeviceType struct {
	ID        uint      `gorm:"primaryKey"`
	Name      string    `gorm:"column:name"`
	Code      string    `gorm:"column:code"`
	IsActive  bool      `gorm:"column:is_active"`
	IsDelete  bool      `gorm:"column:is_delete"`
	CreatedAt time.Time `gorm:"column:created_at"`
	UpdatedAt time.Time `gorm:"column:updated_at"`
}

func (DeviceType) TableName() string {
	return "device_types"
}
