package com.cf.imes.module.executor.controller.admin.order.vo.order;

import com.alibaba.excel.annotation.ExcelProperty;
import com.cf.imes.framework.excel.core.annotations.DictFormat;
import com.cf.imes.module.system.enums.DictTypeConstants;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 生产单 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免生产单导入有问
public class OrderImportExcelVO {
    @ExcelProperty("自定义单号")
    private String customOrderNo;

    @ExcelProperty("客户")
    private String customer;

    @ExcelProperty("经销商")
    private String dealer;

    @ExcelProperty(value = "客户地址")
    private String address;

    @ExcelProperty(value = "经销商电话")
    private String dealerPhoneNumber;

    @ExcelProperty(value = "客户电话")
    private String phoneNumber;

    @ExcelProperty(value = "业务员")
    private String salesman;

    @ExcelProperty(value = "交付日期")
    private LocalDateTime deliveryDate;

    @ExcelProperty(value = "拆单员")
    private String splitter;

    @ExcelProperty(value = "备注")
    private List<String> remarkLists;
}
