Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created July 12, 2022 02:31
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 garystafford/56ceadd9df3e7ae4c7dc44e1716121cb to your computer and use it in GitHub Desktop.
Save garystafford/56ceadd9df3e7ae4c7dc44e1716121cb to your computer and use it in GitHub Desktop.
package com.example.athena.tickit.model.ecomm;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Listing implements Serializable {
private int id;
private int sellerId;
private int eventId;
private int dateId;
private int numTickets;
private BigDecimal pricePerTicket;
private LocalDateTime listTime;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment