Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.