敏捷工具
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.

40 lines
909 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 intervalOilWear;
  22. private Double fuelOneDay;
  23. private int mileage;
  24. private int intervalMileage;
  25. private String address;
  26. private String name;
  27. private int status;
  28. private Long betweenDay;
  29. private Long customer_id;
  30. @JsonFormat(timezone = "GMT", pattern = "yyyy年MM月dd日")
  31. private Date time;
  32. }