Created
December 31, 2015 20:52
-
-
Save igatak/8e0de55f0a66ea505336 to your computer and use it in GitHub Desktop.
This file contains 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 net.tamagothic.divelog.adapters.dbschema; | |
import com.raizlabs.android.dbflow.annotation.* | |
import com.raizlabs.android.dbflow.structure.BaseModel | |
@Table(databaseName = DiveLogDatabase.NAME) | |
public class DiveLogRecord : BaseModel() { | |
@Column(name = "dive_number") | |
@PrimaryKey(autoincrement = false) | |
var diveNumber : Int = 0 | |
@Column(name = "point_name") | |
var pointName : String = "" | |
@Column(name = "entry_time") | |
var entryTime : Long = 0 | |
@Column(name = "exit_time") | |
var exitTime : Long = 0 | |
@Column(name = "air_temperature") | |
var airTemperature : Int = 0 | |
@Column(name = "water_temperature") | |
var waterTemperature : Int = 0 | |
@Column(name = "visibility") | |
var visibility : Int = 0 | |
@Column(name = "averageDepth") | |
var averageDepth : Int = 0 | |
@Column(name = "max_depth") | |
var maxDepth : Int = 0 | |
@Column(name = "initial_pressure") | |
var initialPressure : Int = 0 | |
@Column(name = "residual_pressure") | |
var residualPressure : Int = 0 | |
@Column(name = "weight") | |
var weight : Int = 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment