dev.azure.com/aidainnovazione0090/DeviceManager/_git/go-mod-core-contracts@v1.0.2/models/devicehistory.go (about)

     1  package models
     2  
     3  // Device and its properties are defined in the APIv2 specification:
     4  // https://app.swaggerhub.com/apis-docs/EdgeXFoundry1/core-metadata/2.x#/Device
     5  // Model fields are same as the DTOs documented by this swagger. Exceptions, if any, are noted below.
     6  type DeviceHistory struct {
     7  	DBTimestamp
     8  	Version int64
     9  	Device
    10  	HistoryUser  string // user who create the history record
    11  	HistoryNotes string // additional notes
    12  	HistoryType  string // type of history record
    13  	HistoryDate  int64  // date of history record creation
    14  	Model        string
    15  	Manufacturer string
    16  }