Skip to content

Instantly share code, notes, and snippets.

@srigalamilitan
Created August 26, 2015 04:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srigalamilitan/8813dde36a60f6391b3f to your computer and use it in GitHub Desktop.
Save srigalamilitan/8813dde36a60f6391b3f to your computer and use it in GitHub Desktop.
Hib5Java8DateTime
@Entity
@Table(name = "order_transaction")
@Data
public class OrderTransaction {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long orderId;
private String OrderProduct;
private LocalDate orderDate;
private LocalTime orderTime;
private LocalDateTime orderCreated;
/*
* Getter And Setter Using Library Project Lombok
* */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment