敏捷工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
857 B

2 years ago
  1. package com.whn.hellospring.model;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.*;
  4. import org.hibernate.annotations.Sort;
  5. import javax.persistence.Column;
  6. import javax.persistence.Entity;
  7. import javax.persistence.Table;
  8. import java.io.Serializable;
  9. import java.util.Date;
  10. @Entity
  11. @Table(name = "T_OIL")
  12. @Data
  13. @ToString(callSuper = true)
  14. @NoArgsConstructor
  15. @AllArgsConstructor
  16. @Builder
  17. public class OilDO extends BaseEntity implements Serializable {
  18. private Double unitPrice;
  19. private Double num;
  20. private Double price;
  21. private Double mileage;
  22. private Double intervalMileage;
  23. private Double intervalOilWear;
  24. private String address;
  25. private String name;
  26. private int status;
  27. private Long customer_id;
  28. @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日")
  29. private Date time;
  30. }