feat:咖啡机订单优化

This commit is contained in:
dzc committed 2026-09-23 10:50:56 +08:00
1 parent 9d6949a860
commit 40fb0d2191
5 files changed
+96 -30

No files matched your search

@@ -1,17 +1,28 @@
package com.bsd.pjcloud.hard.api.vo.coffee;
import com.bsd.pjcloud.admin.api.dto.user.SysUserStudentDto;
import com.bsd.pjcloud.admin.api.dto.user.SysUserTeacherDto;
import com.bsd.pjcloud.admin.api.vo.base.BaseUserDeptInterface;
import com.bsd.pjcloud.admin.api.vo.base.BaseUserIdentityInterface;
import com.bsd.pjcloud.hard.api.entity.coffee.HardCoffeeOrderEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;
import java.util.List;
/**
* 咖啡机订单管理端分页/详情
* 咖啡机订单管理端分页/详情,含用户主资料与身份展示资料
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class HardCoffeeOrderVo extends HardCoffeeOrderEntity {
public class HardCoffeeOrderVo extends HardCoffeeOrderEntity
implements BaseUserDeptInterface, BaseUserIdentityInterface {
/**
* 支付用户主键(hard_order.user_id),用于批量回填用户与身份资料
*/
private Long userId;
/**
* 设备名称
@@ -19,9 +30,54 @@ public class HardCoffeeOrderVo extends HardCoffeeOrderEntity {
private String hardName;
/**
* 支付人姓名
* 用户姓名,历史字段承载,供 UserInfoCell 组件展示
*/
private String userName;
private String username;
/**
* 用户手机号(历史字段)
*/
private String userMobile;
/**
* 用户标准手机号字段,供统一身份组件展示;与历史 userMobile 字段并存
*/
private String phone;
/**
* 用户头像
*/
private String userAvatar;
/**
* 用户当前部门主键
*/
private Long userDeptId;
/**
* 用户当前部门名称
*/
private String userDeptName;
/**
* 用户部门名称(标准字段)
*/
private String deptName;
/**
* 用户身份协议编码集合;没有身份时为空集合或空值
*/
private List<String> identityTypes;
/**
* 学生身份扩展资料;没有学生身份时为空
*/
private SysUserStudentDto studentInfo;
/**
* 老师身份扩展资料;没有老师身份时为空
*/
private SysUserTeacherDto teacherInfo;
/**
* 本地订单状态