package cn.superdesk.uniorder.dto.param.thirdpart.jd;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 定时任务-时刻任务-对账单
 *
 * @author linjinyu
 * @email linjinyu@avic-s.com
 * @date 2021-10-12 11:29:24
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Data
@ToString
public class SysQuartzScheduleTaskStatementOfAccountJdRunExcelImportForm implements Serializable {


    @ApiModelProperty("对账单类型 1-客户结算;2-供应商结算;21-供应商结算-京东;")
    private Integer statementOfAccountType;

    @ApiModelProperty("账单周期")
    private Date cycleBeginTime;
    @ApiModelProperty("账单周期")
    private Date cycleEndTime;

    /****************************************** 服务器 上传文件基本目录 start ******************************************/

    @ApiModelProperty("")
    private String excelExportPathRoot;
    @ApiModelProperty("")
    private String excelExportRelativePathTemplate;
    @ApiModelProperty("")
    private String excelExportRelativePathStorage;


    @ApiModelProperty("对账单号(称之为)")
    private String batchId;

    /****************************************** original info start ******************************************/

    @ApiModelProperty("上传时 客户的文件名称")
    private String originalFilename;

    /****************************************** storage info start ******************************************/

    @ApiModelProperty("存储时 写文件系统名称")
    private String fileName;
    @ApiModelProperty("文件后缀")
    private String suffix;

    @ApiModelProperty("File.separator + \"upload\" + File.separator + \"thirdpart\" + File.separator + \"jd\" + File.separator + \"import\" + File.separator + \"reconciliation_schedule\" + File.separator;")
    private String relativePath;
    @ApiModelProperty("LocalDate.now().format(DateTimeFormatter.ofPattern(\"yyyyMMdd\"))")
    private String currentDate;

    @ApiModelProperty("relativePath + currentDate + File.separator + fileName")
    private String targetRelativePathAndFileName;

    /****************************************** 逻辑字段 start ******************************************/

//	@ApiModelProperty("对映界面上 供应商结算-京东对账-列表操作(重新比对)")
//	private Integer onlyCheckUpException;

    @ApiModelProperty("非必填 - 用户名  侨城汇vsp")
    private String jdAccoumtUserName;
    @ApiModelProperty("非必填 - 账单编号 202103010000900180 直接")
    private String jdAccountingOrderSn;

}