package org.bdgp.MMSlide.DB;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class SlidePos {
    @DatabaseField(generatedId=true,canBeNull=false) 
    private int id;
    @DatabaseField(canBeNull=false)
    private int slidePosListId;
    @DatabaseField(canBeNull=false)
    private int slidePosListIndex;
    @DatabaseField
    private int roiId;

    public SlidePos(int slidePosListId, int slidePosListIndex) {
        this.slidePosListId = slidePosListId;
        this.slidePosListIndex = slidePosListIndex;
    }
    public SlidePos(int slidePosListId, int slidePosListIndex, int roiId) {
        this.slidePosListId = slidePosListId;
        this.slidePosListIndex = slidePosListIndex;
        this.roiId = roiId;
    }
    public int getId() { return this.id; }
    public int getSlidePosListId() { return this.slidePosListId; }
    public int getSlidePosListIndex() { return this.slidePosListIndex; }
    public int getRoiId() { return this.roiId; }
}

@@ -409,16 +409,42 @@
 roiId;%0A%0A
+    public SlidePos() %7B %7D%0A
     publ

add default constructor