luodangjia
2024-12-12 d7b3c61e01aadf99ce6a1d8ebf18c4e6dd81cc2b
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TechnicianSubscribe.java
@@ -9,6 +9,7 @@
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.LocalDateTime;
@@ -39,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=到店服务)")
@@ -68,4 +70,15 @@
    private LocalDateTime createTime;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @TableField(exist = false)
    private String idStr;
    public void setId(Long id) {
        this.id = id;
        this.idStr = String.valueOf(id);
    }
}