Created
May 21, 2018 16:40
-
-
Save ryansgot/f3840bcd8b4d933afab6098af3f349d7 to your computer and use it in GitHub Desktop.
Initial Employees Table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.fsryan.example.forsuredb.data.db.tables; | |
import com.fsryan.forsuredb.annotations.FSColumn; | |
import com.fsryan.forsuredb.annotations.FSTable; | |
import com.fsryan.forsuredb.annotations.Unique; | |
import com.fsryan.forsuredb.api.FSGetApi; | |
import com.fsryan.forsuredb.api.Retriever; | |
@FSTable("employees") | |
public interface EmployeesTable extends FSGetApi { | |
@FSColumn("uuid") @Unique(index = true) String uuid(Retriever retriever); | |
@FSColumn("first_name") String firstName(Retriever retriever); | |
@FSColumn("last_name") String lastName(Retriever retriever); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment