package com.ruoyi.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author ojq
|
* @since 2023-03-14
|
*/
|
@TableName("z_travel_price")
|
public class ZTravelPrice implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 本次旅行的id
|
*/
|
private Integer travelId;
|
|
/**
|
* 餐费
|
*/
|
private Double eat;
|
|
/**
|
* 住宿费
|
*/
|
private Double stay;
|
|
/**
|
* 交通出行的费用
|
*/
|
private Double traffic;
|
|
/**
|
* 门票费用
|
*/
|
private Double entrance;
|
|
/**
|
* 购物费用
|
*/
|
private Double shopping;
|
|
/**
|
* 消费日期
|
*/
|
private LocalDateTime consumeDate;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getTravelId() {
|
return travelId;
|
}
|
|
public void setTravelId(Integer travelId) {
|
this.travelId = travelId;
|
}
|
|
public Double getEat() {
|
return eat;
|
}
|
|
public void setEat(Double eat) {
|
this.eat = eat;
|
}
|
|
public Double getStay() {
|
return stay;
|
}
|
|
public void setStay(Double stay) {
|
this.stay = stay;
|
}
|
|
public Double getTraffic() {
|
return traffic;
|
}
|
|
public void setTraffic(Double traffic) {
|
this.traffic = traffic;
|
}
|
|
public Double getEntrance() {
|
return entrance;
|
}
|
|
public void setEntrance(Double entrance) {
|
this.entrance = entrance;
|
}
|
|
public Double getShopping() {
|
return shopping;
|
}
|
|
public void setShopping(Double shopping) {
|
this.shopping = shopping;
|
}
|
|
public LocalDateTime getConsumeDate() {
|
return consumeDate;
|
}
|
|
public void setConsumeDate(LocalDateTime consumeDate) {
|
this.consumeDate = consumeDate;
|
}
|
|
@Override
|
public String toString() {
|
return "ZTravelPrice{" +
|
"id=" + id +
|
", travelId=" + travelId +
|
", eat=" + eat +
|
", stay=" + stay +
|
", traffic=" + traffic +
|
", entrance=" + entrance +
|
", shopping=" + shopping +
|
", consumeDate=" + consumeDate +
|
"}";
|
}
|
}
|