TBCarGasRefuelEntity.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. package cn.com.lzt.oilconsumption.entity;
  2. import org.hibernate.annotations.GenericGenerator;
  3. import java.util.Date;
  4. import java.lang.String;
  5. import javax.persistence.Column;
  6. import javax.persistence.Entity;
  7. import javax.persistence.GeneratedValue;
  8. import javax.persistence.Id;
  9. import javax.persistence.Table;
  10. /**
  11. * @author dugc
  12. * @Title: Entity
  13. * @Description: 车辆加油管理
  14. * @date 2021-11-09
  15. */
  16. @Entity
  17. @Table(name = "t_b_car_gas_refuel", schema = "")
  18. @SuppressWarnings("serial")
  19. public class TBCarGasRefuelEntity implements java.io.Serializable {
  20. /**
  21. * 数据库字段:id
  22. */
  23. private Integer id;
  24. /**
  25. * 车辆id, 数据库字段:car_id
  26. */
  27. private String carId;
  28. /**
  29. * 加油量(单位L), 数据库字段:quantity
  30. * (加油量(单位L) * 100存整型)
  31. */
  32. private Double quantity;
  33. /**
  34. * add-刘梦祥-2022年1月6日10:37:26(加油金额 * 100存整型)
  35. */
  36. private Double refuelMoney;
  37. /**
  38. * 车牌号, 数据库字段:car_plate
  39. */
  40. private String carPlate;
  41. /**
  42. * 加油站, 数据库字段:gas_station
  43. */
  44. private String gasStation;
  45. /**
  46. * 加油日期, 数据库字段:refuel_date
  47. */
  48. private Date refuelDate;
  49. /**
  50. * 创建人登录名称, 数据库字段:create_by
  51. */
  52. private String createBy;
  53. /**
  54. * 创建日期, 数据库字段:create_date
  55. */
  56. private Date createDate;
  57. @Id
  58. @GeneratedValue(generator = "paymentableGenerator")
  59. @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
  60. @Column(name = "id", nullable = true, length = 255)
  61. public Integer getId() {
  62. return this.id;
  63. }
  64. public void setId(Integer id) {
  65. this.id = id;
  66. }
  67. @Column(name = "car_id", nullable = true, length = 255)
  68. public String getCarId() {
  69. return this.carId;
  70. }
  71. public void setCarId(String carId) {
  72. this.carId = carId;
  73. }
  74. @Column(name = "quantity", nullable = true, length = 255)
  75. public Double getQuantity() {
  76. return this.quantity;
  77. }
  78. public void setQuantity(Double quantity) {
  79. this.quantity = quantity;
  80. }
  81. @Column(name = "car_plate", nullable = true, length = 255)
  82. public String getCarPlate() {
  83. return this.carPlate;
  84. }
  85. public void setCarPlate(String carPlate) {
  86. this.carPlate = carPlate;
  87. }
  88. @Column(name = "gas_station", nullable = true, length = 255)
  89. public String getGasStation() {
  90. return this.gasStation;
  91. }
  92. public void setGasStation(String gasStation) {
  93. this.gasStation = gasStation;
  94. }
  95. @Column(name = "refuel_date", nullable = true, length = 255)
  96. public Date getRefuelDate() {
  97. return this.refuelDate;
  98. }
  99. public void setRefuelDate(Date refuelDate) {
  100. this.refuelDate = refuelDate;
  101. }
  102. @Column(name = "create_by", nullable = true, length = 255)
  103. public String getCreateBy() {
  104. return this.createBy;
  105. }
  106. public void setCreateBy(String createBy) {
  107. this.createBy = createBy;
  108. }
  109. @Column(name = "create_date", nullable = true, length = 255)
  110. public Date getCreateDate() {
  111. return this.createDate;
  112. }
  113. public void setCreateDate(Date createDate) {
  114. this.createDate = createDate;
  115. }
  116. @Column(name = "refuel_money")
  117. public Double getRefuelMoney() {
  118. return this.refuelMoney;
  119. }
  120. public void setRefuelMoney(Double refuelMoney) {
  121. this.refuelMoney = refuelMoney;
  122. }
  123. }