package models

import "time"

type SystemFlag struct {
	ID          uint      `gorm:"primaryKey" json:"id"`
	ValueType   string    `gorm:"column:valueType"`
	Name        string    `gorm:"column:name"`
	Value       string    `gorm:"column:value"`
	IsActive    bool      `gorm:"column:isActive"`
	IsDelete    bool      `gorm:"column:isDelete"`
	DisplayName string    `gorm:"column:displayName"`
	FlagGroupID uint      `gorm:"column:flagGroupId"`
	Description string    `gorm:"column:description"`
	ParentID    uint      `gorm:"column:parent_id"`
	ViewEnable  bool      `gorm:"column:viewenable"`
	CreatedAt   time.Time `gorm:"column:created_at"`
	UpdatedAt   time.Time `gorm:"column:updated_at"`
}

func (SystemFlag) TableName() string {
	return "systemflag"
}