DeliveryRecordDTO.java 1022 Bytes
package vion.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

@Getter
@Setter
public class DeliveryRecordDTO extends BaseDTO {
    private Long id;

    /**
     * 合同编号
     */
    private String contractNo;


    /**
     * 合同id
     */
    private Long contractId;

    /**
     * 合同名称
     */
    private String contractName;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 发货日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date shipDate;

    /**
     * 到货签收日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signDate;

    private String remark;

    private MultipartFile[] files;

}