package com.tzy.framework.express.dto;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Sf2TemplateDto {

    public Sf2TemplateDto(String masterWaybillNo , String waybillNoCheckType , String waybillNoCheckValue, String remark){
        this.masterWaybillNo = masterWaybillNo;
        this.waybillNoCheckType = waybillNoCheckType;
        this.waybillNoCheckValue = waybillNoCheckValue;
        this.remark = remark;
    }
    //主运单号
    private String masterWaybillNo;
    //子运单号：否
    private String branchWaybillNo;
    //签回单号
    private String backWaybillNo;
    //该运单号打印时对应的顺序号 子母件必填
    private String seq;
    //子母件运单总数，子母件必填
    private String sum;
    //自定义模板传值
    private JSONObject customData;
    //打印logo
    private String isPrintLogo;
    //运单号权限校验类型 1：收方电话后6位 2：寄方电话后6位 优先校验客户编码，如果客户编码校验不通过，才使用其他方式校验 比如：“1”
    private String waybillNoCheckType;
    //运单号合法校验具体值 比如：“123456”
    private String waybillNoCheckValue;

    private String remark;

    public Sf2TemplateDto setConfig(){
        return this;
    }

}
