| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- package cn.com.lzt.oilconsumption.entity;
- import org.hibernate.annotations.GenericGenerator;
- import java.util.Date;
- import java.lang.String;
- import javax.persistence.Column;
- import javax.persistence.Entity;
- import javax.persistence.GeneratedValue;
- import javax.persistence.Id;
- import javax.persistence.Table;
- /**
- * @author dugc
- * @Title: Entity
- * @Description: 车辆加油管理
- * @date 2021-11-09
- */
- @Entity
- @Table(name = "t_b_car_gas_refuel", schema = "")
- @SuppressWarnings("serial")
- public class TBCarGasRefuelEntity implements java.io.Serializable {
- /**
- * 数据库字段:id
- */
- private Integer id;
- /**
- * 车辆id, 数据库字段:car_id
- */
- private String carId;
- /**
- * 加油量(单位L), 数据库字段:quantity
- * (加油量(单位L) * 100存整型)
- */
- private Double quantity;
- /**
- * add-刘梦祥-2022年1月6日10:37:26(加油金额 * 100存整型)
- */
- private Double refuelMoney;
- /**
- * 车牌号, 数据库字段:car_plate
- */
- private String carPlate;
- /**
- * 加油站, 数据库字段:gas_station
- */
- private String gasStation;
- /**
- * 加油日期, 数据库字段:refuel_date
- */
- private Date refuelDate;
- /**
- * 创建人登录名称, 数据库字段:create_by
- */
- private String createBy;
- /**
- * 创建日期, 数据库字段:create_date
- */
- private Date createDate;
- @Id
- @GeneratedValue(generator = "paymentableGenerator")
- @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
- @Column(name = "id", nullable = true, length = 255)
- public Integer getId() {
- return this.id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- @Column(name = "car_id", nullable = true, length = 255)
- public String getCarId() {
- return this.carId;
- }
- public void setCarId(String carId) {
- this.carId = carId;
- }
- @Column(name = "quantity", nullable = true, length = 255)
- public Double getQuantity() {
- return this.quantity;
- }
- public void setQuantity(Double quantity) {
- this.quantity = quantity;
- }
- @Column(name = "car_plate", nullable = true, length = 255)
- public String getCarPlate() {
- return this.carPlate;
- }
- public void setCarPlate(String carPlate) {
- this.carPlate = carPlate;
- }
- @Column(name = "gas_station", nullable = true, length = 255)
- public String getGasStation() {
- return this.gasStation;
- }
- public void setGasStation(String gasStation) {
- this.gasStation = gasStation;
- }
- @Column(name = "refuel_date", nullable = true, length = 255)
- public Date getRefuelDate() {
- return this.refuelDate;
- }
- public void setRefuelDate(Date refuelDate) {
- this.refuelDate = refuelDate;
- }
- @Column(name = "create_by", nullable = true, length = 255)
- public String getCreateBy() {
- return this.createBy;
- }
- public void setCreateBy(String createBy) {
- this.createBy = createBy;
- }
- @Column(name = "create_date", nullable = true, length = 255)
- public Date getCreateDate() {
- return this.createDate;
- }
- public void setCreateDate(Date createDate) {
- this.createDate = createDate;
- }
- @Column(name = "refuel_money")
- public Double getRefuelMoney() {
- return this.refuelMoney;
- }
- public void setRefuelMoney(Double refuelMoney) {
- this.refuelMoney = refuelMoney;
- }
- }
|