package com.tourguide.modules.review.entity;
|
|
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.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
@TableName("tour_order_review")
|
public class OrderReview {
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
private String reviewNo;
|
private Long orderId;
|
private String orderNo;
|
private LocalDateTime orderPlacedAt;
|
private Long visitorId;
|
private String visitorNickname;
|
private String visitorMobile;
|
private Long guideId;
|
private String guideName;
|
private String guideMobile;
|
private String scenicName;
|
private BigDecimal score;
|
private String content;
|
private LocalDateTime reviewedAt;
|
private Integer status;
|
@TableLogic
|
private Integer deleted;
|
private LocalDateTime deletedAt;
|
@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 getReviewNo() { return reviewNo; }
|
public void setReviewNo(String reviewNo) { this.reviewNo = reviewNo; }
|
public Long getOrderId() { return orderId; }
|
public void setOrderId(Long orderId) { this.orderId = orderId; }
|
public String getOrderNo() { return orderNo; }
|
public void setOrderNo(String orderNo) { this.orderNo = orderNo; }
|
public LocalDateTime getOrderPlacedAt() { return orderPlacedAt; }
|
public void setOrderPlacedAt(LocalDateTime orderPlacedAt) { this.orderPlacedAt = orderPlacedAt; }
|
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 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 String getScenicName() { return scenicName; }
|
public void setScenicName(String scenicName) { this.scenicName = scenicName; }
|
public BigDecimal getScore() { return score; }
|
public void setScore(BigDecimal score) { this.score = score; }
|
public String getContent() { return content; }
|
public void setContent(String content) { this.content = content; }
|
public LocalDateTime getReviewedAt() { return reviewedAt; }
|
public void setReviewedAt(LocalDateTime reviewedAt) { this.reviewedAt = reviewedAt; }
|
public Integer getStatus() { return status; }
|
public void setStatus(Integer status) { this.status = status; }
|
public Integer getDeleted() { return deleted; }
|
public void setDeleted(Integer deleted) { this.deleted = deleted; }
|
public LocalDateTime getDeletedAt() { return deletedAt; }
|
public void setDeletedAt(LocalDateTime deletedAt) { this.deletedAt = deletedAt; }
|
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; }
|
}
|