package com.coding4people.mosquitoreport.api.models;

import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBRangeKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable;

@DynamoDBTable(tableName = "picture")
public class Picture {
    @DynamoDBHashKey
    private String focusguid;
    
    @DynamoDBRangeKey
    private String createat;

    public String getFocusguid() {
        return focusguid;
    }

    public void setFocusGuid(String focusguid) {
        this.focusguid = focusguid;
    }

    public String getCreateat() {
        return createat;
    }

    public void setCreateAt(String createat) {
        this.createat = createat;
    }
}

@@ -47,16 +47,89 @@
 odels;%0A%0A
+import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;%0A
 import c
@@ -187,24 +187,24 @@
 oDBHashKey;%0A
-
 import com.a
@@ -500,16 +500,69 @@
 reateat;
+%0A    %0A    @DynamoDBAttribute%0A    private String guid;
 %0A%0A    pu
@@ -824,24 +824,24 @@
 createat) %7B%0A
-
         this
@@ -867,11 +867,226 @@
 t;%0A    %7D
+%0A%0A    public String getGuid() %7B%0A        return guid;%0A    %7D%0A%0A    public void setGuid(String guid) %7B%0A        this.guid = guid;%0A    %7D%0A    %0A    public String getPath() %7B%0A        return focusguid + %22/%22 + getGuid();%0A    %7D
 %0A%7D%0A

Add guid to Picture