package models

import "time"
type HororscopeSign struct {
	ID uint `gorm:"primaryKey;autoIncrement" json:"id"`
	Name string `gorm:"column:name;type:varchar(255);not null" json:"name"`
	DisplayOrder *int `gorm:"column:displayOrder" json:"displayOrder"`
	Image string `gorm:"column:image;type:varchar(255);not null" json:"image"`
	SvgImage *string `gorm:"column:svgImage;type:longtext" json:"svgImage"`
	IsActive bool `gorm:"column:isActive;default:true" json:"isActive"`
	IsDelete bool `gorm:"column:isDelete;default:false" json:"isDelete"`
	CreatedAt *time.Time `gorm:"column:created_at" json:"created_at"`
	UpdatedAt *time.Time `gorm:"column:updated_at" json:"updated_at"`
	CreatedBy int `gorm:"column:createdBy;not null" json:"createdBy"`
	ModifiedBy int `gorm:"column:modifiedBy;not null" json:"modifiedBy"`
}

func (HororscopeSign) TableName() string {
	return "hororscope_signs"
}