LotError.java 793 B

12345678910111213141516171819202122232425262728293031323334
  1. package cn.hobbystocks.auc.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.Data;
  4. import java.util.Date;
  5. @Data
  6. public class LotError {
  7. public LotError() {
  8. }
  9. public LotError(Long lotId, Long bidId, Long point, String type, Date createTime, String orderId, String msg) {
  10. this.lotId = lotId;
  11. this.bidId = bidId;
  12. this.point = point;
  13. this.type = type;
  14. this.createTime = createTime;
  15. this.orderId = orderId;
  16. this.msg = msg;
  17. }
  18. private Long id;
  19. private Long lotId;
  20. private Long bidId;
  21. private Long point;
  22. private String type;
  23. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  24. private Date createTime;
  25. private String orderId;
  26. private String msg;
  27. }