package com.casic.missiles.dto.business.interchange;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
@ColumnWidth(30)
@HeadRowHeight(15)
@ContentRowHeight(20)
@ContentStyle(borderLeft = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@ExcelIgnoreUnannotated
public class InterchangeListResponse {

    private Long id;

    @ApiModelProperty(value = "交接单编号", dataType = "String")
    @ExcelProperty(value = "交接单编号", order = 0)
    private String interchangeCode;

    @ApiModelProperty(value = "委托方代码", dataType = "String")
    @ExcelProperty(value = "委托方代码", order = 1)
    @TableField(exist = false)
    private String customerNo;

    @ApiModelProperty(value = "委托方名称", dataType = "String")
    @ExcelProperty(value = "委托方名称", order = 2)
    @TableField(exist = false)
    private String customerName;

    @ApiModelProperty(value = "接收人", dataType = "String")
    @ExcelProperty(value = "接收人", order = 3)
    private String reciever;

    @ApiModelProperty(value = "送检人", dataType = "String")
    @ExcelProperty(value = "送检人", order = 4)
    private String deliverer; //以实际送检人为准

    @ApiModelProperty(value = "送检人联系方式", dataType = "String")
    private String delivererTel; //以实际送检人联系方式为准


    @ApiModelProperty(value = "交接时间", dataType = "String")
    @ExcelProperty(value = "交接时间", order = 5)
    private String deliverTime;

    @ApiModelProperty(value = "委托书编号", dataType = "String")
    @TableField(exist = false)
    private String orderNo;

    @ApiModelProperty(value = "要求捡完时间", dataType = "String")
    private String requireOverTime; //委托书中自带

    @ApiModelProperty(value = "是否加急", dataType = "String")
    private String isUrgent;

    @ApiModelProperty(value = "备注", dataType = "String")
    @ExcelProperty(value = "备注", order = 8)
    private String remark;
}
