entity

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityRecord

type ActivityRecord struct {
	RecordId          tkValueObject.ActivityRecordId           `json:"recordId"`
	RecordLevel       tkValueObject.ActivityRecordLevel        `json:"recordLevel"`
	RecordCode        tkValueObject.ActivityRecordCode         `json:"recordCode"`
	AffectedResources []tkValueObject.SystemResourceIdentifier `json:"affectedResources"`
	RecordDetails     any                                      `json:"recordDetails"`
	OperatorSri       *tkValueObject.SystemResourceIdentifier  `json:"operatorSri"`
	OperatorIpAddress *tkValueObject.IpAddress                 `json:"operatorIpAddress"`
	CreatedAt         tkValueObject.UnixTime                   `json:"createdAt"`
}

func NewActivityRecord

func NewActivityRecord(
	recordId tkValueObject.ActivityRecordId,
	recordLevel tkValueObject.ActivityRecordLevel,
	recordCode tkValueObject.ActivityRecordCode,
	affectedResources []tkValueObject.SystemResourceIdentifier,
	recordDetails any,
	operatorSri *tkValueObject.SystemResourceIdentifier,
	operatorIpAddress *tkValueObject.IpAddress,
	createdAt tkValueObject.UnixTime,
) ActivityRecord

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL