17 lines
859 B
Go
17 lines
859 B
Go
|
|
package entity
|
||
|
|
|
||
|
|
import "time"
|
||
|
|
|
||
|
|
type RequestForInformationObjection struct {
|
||
|
|
ID uint `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
|
||
|
|
RequestForInformationId uint `json:"request_for_information_id" gorm:"type:int4"`
|
||
|
|
DocumentName string `json:"document_name" gorm:"type:varchar"`
|
||
|
|
MainReason string `json:"main_reason" gorm:"type:varchar"`
|
||
|
|
SecondaryReason string `json:"secondary_reason" gorm:"type:varchar"`
|
||
|
|
CreatedById uint `json:"created_by_id" gorm:"type:int4"`
|
||
|
|
StatusId int `json:"status_id" gorm:"type:int4"`
|
||
|
|
IsActive *bool `json:"is_active" gorm:"type:bool"`
|
||
|
|
CreatedAt time.Time `json:"created_at" gorm:"default:now()"`
|
||
|
|
UpdatedAt time.Time `json:"updated_at" gorm:"default:now()"`
|
||
|
|
}
|