package entity

import "time"

type PpidDataApprovalHistories struct {
	ID               uint      `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
	Message          string    `json:"message" gorm:"type:varchar"`
	ApprovalStatusId int       `json:"approval_status_id" gorm:"type:int4"`
	PpidDataId       uint      `json:"ppid_data_id" gorm:"type:int4"`
	ApprovalBy       uint      `json:"approval_by" gorm:"type:int4"`
	ApprovalAtLevel  int       `json:"approval_at_level" gorm:"type:int4"`
	IsActive         bool      `json:"is_active" gorm:"type:bool;default:true"`
	CreatedAt        time.Time `json:"created_at" gorm:"default:now()"`
	UpdatedAt        time.Time `json:"updated_at" gorm:"default:now()"`
}
