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