package models

import "time"

type SkillMaster struct {
	ID           uint      `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	Name         string    `gorm:"column:name" json:"name"`
	DisplayOrder *int      `gorm:"column:displayOrder" json:"display_order,omitempty"`
	IsActive     bool      `gorm:"column:isActive" json:"is_active"`
	IsDelete     bool      `gorm:"column:isDelete" json:"is_delete"`
	Status       bool      `gorm:"column:status" json:"status"`
	CreatedAt    time.Time `gorm:"column:created_at" json:"created_at"`
	UpdatedAt    time.Time `gorm:"column:updated_at" json:"updated_at"`
	CreatedBy    uint      `gorm:"column:createdBy" json:"created_by"`
	ModifiedBy   uint      `gorm:"column:modifiedBy" json:"modified_by"`
}

func (SkillMaster) TableName() string {
	return "skills"
}
