package org.greenrobot.greendao.daotest;
import org.greenrobot.greendao.annotation.*;
import java.lang.String;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
/**
* Entity mapped to table "DATE_ENTITY".
*/
@Entity
public class DateEntity {
@Id
private Long id;
// Test code for
// field
private java.util.Date date;
@NotNull
private java.util.Date dateNotNull;
@Generated
public DateEntity() {
}
public DateEntity(Long id) {
this.id = id;
}
@Generated
public DateEntity(Long id, java.util.Date date, java.util.Date dateNotNull) {
this.id = id;
this.date = date;
this.dateNotNull = dateNotNull;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
// Test code for
// getter
public java.util.Date getDate() {
return date;
}
// Test code for
// setter
public void setDate(java.util.Date date) {
this.date = date;
}
@NotNull
public java.util.Date getDateNotNull() {
return dateNotNull;
}
/** Not-null value; ensure this value is available before it is saved to the database. */
public void setDateNotNull(@NotNull java.util.Date dateNotNull) {
this.dateNotNull = dateNotNull;
}
}