package cn.superdesk.uniorder.openapicall.thirdpart.szhtxx.paperInvoice.dto.response.SID25TaxDeviceInfo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: 结构体
 * @Author: linjinyu
 * @CreateDate: 2022/4/27 7:07 下午
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022/4/27 7:07 下午
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SID25TaxDeviceInfoResponseBodyEncmsgVo implements Serializable {

    @JsonProperty("retcode")
    @JSONField(name = "retcode")
    private String returnCode;
    @JsonProperty("retmsg")
    @JSONField(name = "retmsg")
    private String returnMsg;

    @JsonProperty("SID")
    @JSONField(name = "SID")
    private String sid;


    /**
     * InvMcType : 0
     * MachineNo : 0
     * kpfwqh : 0
     * CorpName : 航信测试盘
     * AddTel : 1 1
     * BankNo : 1
     * responseMsg : <?xml version="1.0"  encoding="GBK"?><FPXT_COM_OUTPUT><ID>0400</ID><CODE>0000</CODE><MESS></MESS><DATA> </DATA></FPXT_COM_OUTPUT>
     * CheckCode : 661543539238
     * TaxCode : 440300311770061
     */
    @ApiModelProperty("0-打开的是防伪开票;1-打开的是开票服务器")
    @JsonProperty("InvMcType")
    @JSONField(name = "InvMcType")
    private Integer invMcType;

    @ApiModelProperty("开票机号（服务器的为：开票点号/终端号）")
    @JsonProperty("MachineNo")
    @JSONField(name = "MachineNo")
    private Integer machineNo;

    @ApiModelProperty("开票服务器号")
    private String  kpfwqh;

    @ApiModelProperty("企业名称")
    @JsonProperty("CorpName")
    @JSONField(name = "CorpName")
    private String  corpName;





    @ApiModelProperty("地址电话")
    @JsonProperty("AddTel")
    @JSONField(name = "AddTel")
    private String  addTel;
    @ApiModelProperty("银行账号")
    @JsonProperty("BankNo")
    @JSONField(name = "BankNo")
    private String  bankNo;

    @ApiModelProperty("开票服务器号")
    @JsonProperty("CheckCode")
    @JSONField(name = "CheckCode")
    private String checkCode;
    @ApiModelProperty("企业税号")
    @JsonProperty("TaxCode")
    @JSONField(name = "TaxCode")
    private String taxCode;




    @ApiModelProperty("1 为百旺 其它，航信")
    @JsonProperty("IsBW")
    @JSONField(name = "IsBW")
    private String  isBw;

    @ApiModelProperty("DeviceType String 是 0-航信金税盘;1-百旺盘;2-服务器版本 key;4-ukey;")
    @JsonProperty("DeviceType")
    @JSONField(name = "DeviceType")
    private String  deviceType;



    private String responseMsg;
}
