package com.tourguide.modules.order.entity;
|
|
import com.tourguide.common.persistence.LogicDeleteEntity;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
@TableName("tour_order")
|
public class TourOrder extends LogicDeleteEntity {
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
private String orderNo;
|
private Long visitorId;
|
private String visitorNickname;
|
private String visitorMobile;
|
private Long scenicSpotId;
|
private String scenicName;
|
private Long meetingPointId;
|
private String meetingPointName;
|
private String packageName;
|
private Long servicePackageId;
|
private String familyNo;
|
private String orderType;
|
private Integer peopleCount;
|
private BigDecimal unitPrice;
|
private BigDecimal originalPrice;
|
private BigDecimal discountPrice;
|
private BigDecimal subtotalAmount;
|
private String discountType;
|
private BigDecimal discountAmount;
|
private BigDecimal amount;
|
private String paymentMethod;
|
private String paymentOrderNo;
|
private BigDecimal paymentAmount;
|
private LocalDateTime paymentTime;
|
private LocalDateTime placedAt;
|
private Integer meetingPointCount;
|
private Long guideId;
|
private String guideName;
|
private String guideMobile;
|
private Long receivingSessionId;
|
private String commissionSource;
|
private BigDecimal commissionRate;
|
private Long commissionTeamId;
|
private BigDecimal guideEarningAmount;
|
private Integer settlementDays;
|
private LocalDateTime settlementDueAt;
|
private LocalDateTime settledAt;
|
private LocalDateTime acceptedAt;
|
private LocalDateTime arrivedAt;
|
private LocalDateTime serviceStartedAt;
|
private LocalDateTime completedAt;
|
private String status;
|
private String refundStatus;
|
private BigDecimal refundAmount;
|
private LocalDateTime refundTime;
|
private String refundOrderNo;
|
private String refundMethod;
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createdAt;
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updatedAt;
|
|
public Long getId() { return id; }
|
public void setId(Long id) { this.id = id; }
|
public String getOrderNo() { return orderNo; }
|
public void setOrderNo(String orderNo) { this.orderNo = orderNo; }
|
public Long getVisitorId() { return visitorId; }
|
public void setVisitorId(Long visitorId) { this.visitorId = visitorId; }
|
public String getVisitorNickname() { return visitorNickname; }
|
public void setVisitorNickname(String visitorNickname) { this.visitorNickname = visitorNickname; }
|
public String getVisitorMobile() { return visitorMobile; }
|
public void setVisitorMobile(String visitorMobile) { this.visitorMobile = visitorMobile; }
|
public Long getScenicSpotId() { return scenicSpotId; }
|
public void setScenicSpotId(Long scenicSpotId) { this.scenicSpotId = scenicSpotId; }
|
public String getScenicName() { return scenicName; }
|
public void setScenicName(String scenicName) { this.scenicName = scenicName; }
|
public Long getMeetingPointId() { return meetingPointId; }
|
public void setMeetingPointId(Long meetingPointId) { this.meetingPointId = meetingPointId; }
|
public String getMeetingPointName() { return meetingPointName; }
|
public void setMeetingPointName(String meetingPointName) { this.meetingPointName = meetingPointName; }
|
public String getPackageName() { return packageName; }
|
public void setPackageName(String packageName) { this.packageName = packageName; }
|
public Long getServicePackageId() { return servicePackageId; }
|
public void setServicePackageId(Long servicePackageId) { this.servicePackageId = servicePackageId; }
|
public String getFamilyNo() { return familyNo; }
|
public void setFamilyNo(String familyNo) { this.familyNo = familyNo; }
|
public String getOrderType() { return orderType; }
|
public void setOrderType(String orderType) { this.orderType = orderType; }
|
public Integer getPeopleCount() { return peopleCount; }
|
public void setPeopleCount(Integer peopleCount) { this.peopleCount = peopleCount; }
|
public BigDecimal getUnitPrice() { return unitPrice; }
|
public void setUnitPrice(BigDecimal unitPrice) { this.unitPrice = unitPrice; }
|
public BigDecimal getOriginalPrice() { return originalPrice; }
|
public void setOriginalPrice(BigDecimal originalPrice) { this.originalPrice = originalPrice; }
|
public BigDecimal getDiscountPrice() { return discountPrice; }
|
public void setDiscountPrice(BigDecimal discountPrice) { this.discountPrice = discountPrice; }
|
public BigDecimal getSubtotalAmount() { return subtotalAmount; }
|
public void setSubtotalAmount(BigDecimal subtotalAmount) { this.subtotalAmount = subtotalAmount; }
|
public String getDiscountType() { return discountType; }
|
public void setDiscountType(String discountType) { this.discountType = discountType; }
|
public BigDecimal getDiscountAmount() { return discountAmount; }
|
public void setDiscountAmount(BigDecimal discountAmount) { this.discountAmount = discountAmount; }
|
public BigDecimal getAmount() { return amount; }
|
public void setAmount(BigDecimal amount) { this.amount = amount; }
|
public String getPaymentMethod() { return paymentMethod; }
|
public void setPaymentMethod(String paymentMethod) { this.paymentMethod = paymentMethod; }
|
public String getPaymentOrderNo() { return paymentOrderNo; }
|
public void setPaymentOrderNo(String paymentOrderNo) { this.paymentOrderNo = paymentOrderNo; }
|
public BigDecimal getPaymentAmount() { return paymentAmount; }
|
public void setPaymentAmount(BigDecimal paymentAmount) { this.paymentAmount = paymentAmount; }
|
public LocalDateTime getPaymentTime() { return paymentTime; }
|
public void setPaymentTime(LocalDateTime paymentTime) { this.paymentTime = paymentTime; }
|
public LocalDateTime getPlacedAt() { return placedAt; }
|
public void setPlacedAt(LocalDateTime placedAt) { this.placedAt = placedAt; }
|
public Integer getMeetingPointCount() { return meetingPointCount; }
|
public void setMeetingPointCount(Integer meetingPointCount) { this.meetingPointCount = meetingPointCount; }
|
public Long getGuideId() { return guideId; }
|
public void setGuideId(Long guideId) { this.guideId = guideId; }
|
public String getGuideName() { return guideName; }
|
public void setGuideName(String guideName) { this.guideName = guideName; }
|
public String getGuideMobile() { return guideMobile; }
|
public void setGuideMobile(String guideMobile) { this.guideMobile = guideMobile; }
|
public Long getReceivingSessionId() { return receivingSessionId; }
|
public void setReceivingSessionId(Long receivingSessionId) { this.receivingSessionId = receivingSessionId; }
|
public String getCommissionSource() { return commissionSource; }
|
public void setCommissionSource(String commissionSource) { this.commissionSource = commissionSource; }
|
public BigDecimal getCommissionRate() { return commissionRate; }
|
public void setCommissionRate(BigDecimal commissionRate) { this.commissionRate = commissionRate; }
|
public Long getCommissionTeamId() { return commissionTeamId; }
|
public void setCommissionTeamId(Long commissionTeamId) { this.commissionTeamId = commissionTeamId; }
|
public BigDecimal getGuideEarningAmount() { return guideEarningAmount; }
|
public void setGuideEarningAmount(BigDecimal guideEarningAmount) { this.guideEarningAmount = guideEarningAmount; }
|
public Integer getSettlementDays() { return settlementDays; }
|
public void setSettlementDays(Integer settlementDays) { this.settlementDays = settlementDays; }
|
public LocalDateTime getSettlementDueAt() { return settlementDueAt; }
|
public void setSettlementDueAt(LocalDateTime settlementDueAt) { this.settlementDueAt = settlementDueAt; }
|
public LocalDateTime getSettledAt() { return settledAt; }
|
public void setSettledAt(LocalDateTime settledAt) { this.settledAt = settledAt; }
|
public LocalDateTime getAcceptedAt() { return acceptedAt; }
|
public void setAcceptedAt(LocalDateTime acceptedAt) { this.acceptedAt = acceptedAt; }
|
public LocalDateTime getArrivedAt() { return arrivedAt; }
|
public void setArrivedAt(LocalDateTime arrivedAt) { this.arrivedAt = arrivedAt; }
|
public LocalDateTime getServiceStartedAt() { return serviceStartedAt; }
|
public void setServiceStartedAt(LocalDateTime serviceStartedAt) { this.serviceStartedAt = serviceStartedAt; }
|
public LocalDateTime getCompletedAt() { return completedAt; }
|
public void setCompletedAt(LocalDateTime completedAt) { this.completedAt = completedAt; }
|
public String getStatus() { return status; }
|
public void setStatus(String status) { this.status = status; }
|
public String getRefundStatus() { return refundStatus; }
|
public void setRefundStatus(String refundStatus) { this.refundStatus = refundStatus; }
|
public BigDecimal getRefundAmount() { return refundAmount; }
|
public void setRefundAmount(BigDecimal refundAmount) { this.refundAmount = refundAmount; }
|
public LocalDateTime getRefundTime() { return refundTime; }
|
public void setRefundTime(LocalDateTime refundTime) { this.refundTime = refundTime; }
|
public String getRefundOrderNo() { return refundOrderNo; }
|
public void setRefundOrderNo(String refundOrderNo) { this.refundOrderNo = refundOrderNo; }
|
public String getRefundMethod() { return refundMethod; }
|
public void setRefundMethod(String refundMethod) { this.refundMethod = refundMethod; }
|
public LocalDateTime getCreatedAt() { return createdAt; }
|
public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }
|
public LocalDateTime getUpdatedAt() { return updatedAt; }
|
public void setUpdatedAt(LocalDateTime updatedAt) { this.updatedAt = updatedAt; }
|
}
|