|
|
@@ -0,0 +1,139 @@
|
|
|
+package shop.alien.entity.store.vo;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 律師諮詢訂單視圖對象(包含律師信息)
|
|
|
+ *
|
|
|
+ * @author system
|
|
|
+ * @since 2025-01-XX
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@JsonInclude
|
|
|
+@ApiModel(value = "LawyerConsultationOrderVO對象", description = "諮詢訂單視圖對象(包含律師信息)")
|
|
|
+public class LawyerConsultationOrderVO implements Serializable {
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "主鍵")
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "訂單編號")
|
|
|
+ private String orderNumber;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "客戶端用戶ID")
|
|
|
+ private Integer clientUserId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "律師用戶ID")
|
|
|
+ private Integer lawyerUserId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "法律問題場景ID")
|
|
|
+ private Integer problemScenarId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "問題描述")
|
|
|
+ private String problemDescription;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "訂單金額,單位分")
|
|
|
+ private Integer orderAmount;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "諮詢費用,單位分")
|
|
|
+ private Integer consultationFee;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "諮詢開始時間")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ private Date startTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "諮詢結束時間")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ private Date endTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "訂單狀態, 0:待支付, 1:已支付, 2:進行中, 3:已完成, 4:已取消")
|
|
|
+ private Integer orderStatus;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "支付狀態, 0:未支付, 1:已支付")
|
|
|
+ private Integer paymentStatus;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "下單時間")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ private Date orderTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "支付時間")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ private Date paymentTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "訂單有效期")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ private Date validityPeriod;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "用戶評分, 1-5星")
|
|
|
+ private Integer rating;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "用戶評價內容")
|
|
|
+ private String comment;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "創建時間")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ private Date createdTime;
|
|
|
+
|
|
|
+ // ========== 律師信息 ==========
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "律師姓名")
|
|
|
+ private String lawyerName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "律師手機號")
|
|
|
+ private String lawyerPhone;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "律師郵箱")
|
|
|
+ private String lawyerEmail;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "律師執業證號")
|
|
|
+ private String lawyerCertificateNo;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "所屬律師事務所")
|
|
|
+ private String lawFirm;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "執業年限")
|
|
|
+ private Integer practiceYears;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "專業領域,多個用逗號分隔")
|
|
|
+ private String specialtyFields;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "資質認證狀態, 0:未認證, 1:認證中, 2:已認證, 3:認證失敗")
|
|
|
+ private Integer certificationStatus;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "服務評分, 0-100分")
|
|
|
+ private Integer serviceScore;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "服務次數")
|
|
|
+ private Integer serviceCount;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "諮詢收費標準(單位分/小時)")
|
|
|
+ private Integer lawyerConsultationFee;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "所屬省份")
|
|
|
+ private String province;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "所屬城市")
|
|
|
+ private String city;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "所屬區縣")
|
|
|
+ private String district;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "詳細地址")
|
|
|
+ private String address;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "頭像")
|
|
|
+ private String headImg;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "昵稱")
|
|
|
+ private String nickName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "個人簡介(詳細)")
|
|
|
+ private String personalIntroduction;
|
|
|
+}
|
|
|
+
|