package procedureroombase

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	ero "simrs-vx/internal/domain/references/organization"
)

type ProcedureRoom struct {
	ecore.SmallMain
	Code               string                      `json:"code" gorm:"unique;size:20"` // copied from infra code
	Infra_Code         *string                     `json:"infra_code" gorm:"size:20;unique"`
	Type_Code          *ero.ProdcedureRoomTypeCode `json:"type_code" gorm:"size:10"`
	Unit_Code          *string                     `json:"unit_code" gorm:"size:20"`
	Specialist_Code    *string                     `json:"specialist_code" gorm:"size:20"`
	Subspecialist_Code *string                     `json:"subspecialist_code" gorm:"size:20"`
}

// THIS IS ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
// func (ProcedureRoom) TableName() string {
// 	return "Room"
// }
