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

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


@Schema(description = "管理后台 - 排单对应的生产单数据")
@Data
public class PlanOrderRespVO {



    @Schema(description = "生产单号，主键")
    private Long id;


    @Schema(description = "排单ID")
    private Long planId;

    @Schema(description = "生产单日期")
    @NotNull(message = "交付日期不能为空")
    private LocalDateTime orderDate;

    @Schema(description = "交付日期")
    @NotNull(message = "交付日期不能为空")
    private LocalDateTime deliveryDate;


    @Schema(description = "自定义单号")
    private String customOrderNo;

    @Schema(description = "客户")
    private String customer;

    @Schema(description = "客户地址")
    private String address;

    @Schema(description = "客户电话")
    private String phoneNumber;

    @Schema(description = "经销商")
    private String dealer;

    @Schema(description = "经销商电话")
    private String dealerPhoneNumber;

    @Schema(description = "业务员")
    private String salesman;

    @Schema(description = "拆单员")
    private String splitter;

    @Schema(description = "备注")
    private String remark;

}
