package com.wms_main.model.dto.request.wms;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WcsTaskBakRequest {
    @JsonProperty("origin")
    String origin;

    @JsonProperty("destination")
    String destination;

    @JsonProperty("vehicleId")
    String vehicleId;

    @JsonProperty("createDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    LocalDate createDate;
}
