2020-01-09 05:51:54 -09:00
|
|
|
package domain
|
2016-03-02 05:07:24 -09:00
|
|
|
|
2016-03-24 19:31:54 -08:00
|
|
|
const (
|
|
|
|
|
PropLastScan = "LastScan"
|
|
|
|
|
)
|
|
|
|
|
|
2016-03-02 05:07:24 -09:00
|
|
|
type Property struct {
|
2020-01-09 19:33:01 -09:00
|
|
|
ID string
|
2016-03-02 05:07:24 -09:00
|
|
|
Value string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PropertyRepository interface {
|
|
|
|
|
Put(id string, value string) error
|
|
|
|
|
Get(id string) (string, error)
|
|
|
|
|
DefaultGet(id string, defaultValue string) (string, error)
|
|
|
|
|
}
|