Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityRecord ¶
type ActivityRecord struct {
ID uint64 `gorm:"primaryKey"`
RecordLevel string `gorm:"not null"`
RecordCode string `gorm:"not null"`
AffectedResources []ActivityRecordAffectedResource
RecordDetails *string
OperatorSri *string
OperatorIpAddress *string
CreatedAt time.Time `gorm:"not null"`
}
func NewActivityRecord ¶
func NewActivityRecord( recordId uint64, recordLevel, recordCode string, affectedResources []ActivityRecordAffectedResource, recordDetails, operatorSri, operatorIpAddress *string, ) ActivityRecord
func (ActivityRecord) TableName ¶
func (ActivityRecord) TableName() string
func (ActivityRecord) ToEntity ¶
func (model ActivityRecord) ToEntity() (recordEntity tkEntity.ActivityRecord, err error)
type ActivityRecordAffectedResource ¶
type ActivityRecordAffectedResource struct {
ID uint64 `gorm:"primaryKey"`
SystemResourceIdentifier string `gorm:"not null"`
ActivityRecordID uint64 `gorm:"not null"`
}
func (ActivityRecordAffectedResource) TableName ¶
func (ActivityRecordAffectedResource) TableName() string
Click to show internal directories.
Click to hide internal directories.