Commit fca582ad by 林冲

确认到店、确认提车

1 parent 9ca104af
package com.gsc4cloud.gsc.vpc.api.entity.car;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
......@@ -79,6 +76,13 @@ public class DeliveryOrder implements Serializable {
@TableField(value = "handler_name")
private String handlerName;
/**
* 交付专员姓名
*/
@Schema(description = "交付专员手机号")
@TableField(value = "handler_phone")
private String handlerPhone;
/**
* 关联拍卖编号(如 PM-20231025-088)
*/
......@@ -215,10 +219,13 @@ public class DeliveryOrder implements Serializable {
@TableField(value = "custodian_phone")
private String custodianPhone;
@Schema(description = "交付照片,多个用英文逗号隔开")
@TableField(value = "confirm_images")
private String confirmImages;
/**
* 备注信息
* 交付备注
*/
@Schema(description = "备注信息")
@Schema(description = "交付备注")
@TableField(value = "remark")
private String remark;
......@@ -252,11 +259,12 @@ public class DeliveryOrder implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedDate;
/**
* 是否删除:0-否 1-是
*/
@Schema(description = "是否删除:0-否 1-是")
@TableField(value = "is_deleted")
private Integer isDeleted;
/**
* 删除标识:N未删除,D已删除
*/
@TableField(value = "deleted_flag")
@TableLogic(value = "N", delval = "D")
private String deletedFlag;
}
package com.gsc4cloud.gsc.vpc.api.req.pad.car;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
@Schema(description = "确认到店请求")
@Data
public class DeliveryOrderArriveRequest {
@Schema(description = "交付工单唯一识别编号")
@NotEmpty(message = "交付工单唯一识别编号不能为空")
private String deliveryOrderId;
@Schema(description = "操作人名称,无需前端传递,后端自己查询")
private String operator;
}
package com.gsc4cloud.gsc.vpc.api.req.pad.car;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
@Schema(description = "确认提车请求")
@Data
public class DeliveryOrderConfirmRequest {
@Schema(description = "交付工单唯一识别编号")
@NotEmpty(message = "交付工单唯一识别编号不能为空")
private String deliveryOrderId;
@Schema(description = "操作人名称,无需前端传递,后端自己查询")
private String operator;
@Schema(description = "交付照片,多个用英文逗号隔开")
@NotEmpty(message = "交付照片不能为空")
private String confirmImages;
@Schema(description = "交付备注")
private String remark;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!