package v1

import (
	"database/sql"
	"time"
)

type FeilianAlert struct {
	ID         uint64       `json:"id" gorm:"primary_key;AUTO_INCREMENT;column:id"`
	CreatedAt  time.Time    `json:"createdAt" gorm:"column:createdAt"`
	UpdatedAt  sql.NullTime `json:"updatedAt" gorm:"column:updatedAt"`
	DeletedAt  sql.NullTime `json:"deletedAt" gorm:"column:deletedAt"`
	Name       string       `json:"name" gorm:"column:name"`
	ActionDesc string       `json:"actionDesc" gorm:"column:actionDesc"`
	KeyInfo    string       `json:"keyInfo" gorm:"column:keyInfo"`
}

func (a *FeilianAlert) TableName() string {
	return "feilian_alert"
}
