From ff399ed346334267d075d0ae7586936b680650f7 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 16 十二月 2024 15:28:28 +0800
Subject: [PATCH] 合并代码
---
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java
index 94a1ef0..a750a50 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java
@@ -40,10 +40,11 @@
@ApiModelProperty(value = "技师id")
@TableField("technician_id")
- private Long technicianId;
+ private Integer technicianId;
@ApiModelProperty(value = "预约时间")
@TableField("subscribe_time")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime subscribeTime;
@ApiModelProperty(value = "服务方式(1=上门服务,2=到店服务)")
@@ -54,7 +55,7 @@
@TableField("user_address")
private String userAddress;
- @ApiModelProperty(value = "状态(0=待服务,1=已服务,2=已取消)")
+ @ApiModelProperty(value = "状态(0=待服务,1=已服务,2=已取消, 3=已到期)")
@TableField("status")
private Integer status;
@@ -67,6 +68,14 @@
@TableField("create_time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime createTime;
+ @TableField(exist = false)
+ private String idStr;
+ @TableField(exist = false)
+ private Long orderId;
+ public void setId(Long id) {
+ this.id = id;
+ this.idStr = String.valueOf(id);
+ }
}
--
Gitblit v1.7.1