sky-take-out/sky-pojo/src/main/java/com/sky/pojo/dto/OrdersSubmitDTO.java

36 lines
1004 B
Java
Raw Normal View History

2024-03-11 20:25:50 +08:00
package com.sky.pojo.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
2024-03-16 21:54:38 +08:00
import lombok.AllArgsConstructor;
2024-03-11 20:25:50 +08:00
import lombok.Data;
2024-03-16 21:54:38 +08:00
import lombok.NoArgsConstructor;
2024-03-11 20:25:50 +08:00
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
2024-03-16 21:54:38 +08:00
@AllArgsConstructor
@NoArgsConstructor
2024-03-11 20:25:50 +08:00
public class OrdersSubmitDTO implements Serializable {
2024-03-16 21:54:38 +08:00
// 地址簿id
2024-03-11 20:25:50 +08:00
private Long addressBookId;
2024-03-16 21:54:38 +08:00
// 付款方式
2024-03-11 20:25:50 +08:00
private int payMethod;
2024-03-16 21:54:38 +08:00
// 备注
2024-03-11 20:25:50 +08:00
private String remark;
2024-03-16 21:54:38 +08:00
// 预计送达时间
2024-03-11 20:25:50 +08:00
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime estimatedDeliveryTime;
2024-03-16 21:54:38 +08:00
// 配送状态 1立即送出 0选择具体时间
2024-03-11 20:25:50 +08:00
private Integer deliveryStatus;
2024-03-16 21:54:38 +08:00
// 餐具数量
2024-03-11 20:25:50 +08:00
private Integer tablewareNumber;
2024-03-16 21:54:38 +08:00
// 餐具数量状态 1按餐量提供 0选择具体数量
2024-03-11 20:25:50 +08:00
private Integer tablewareStatus;
2024-03-16 21:54:38 +08:00
// 打包费
2024-03-11 20:25:50 +08:00
private Integer packAmount;
2024-03-16 21:54:38 +08:00
// 总金额
2024-03-11 20:25:50 +08:00
private BigDecimal amount;
}