package com.hzs.scm.trans.vo;

import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import com.hzs.scm.pub.vo.ScmReturnVo;
import com.hzs.scm.po.vo.PoOrderBVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @description: 供应链返回到会员端vo
 * @author: sui q
 * @time: 2023/12/7 16:38
 * @classname: PoOrderVo
 * @package_name: com.hzs.scm.po.vo
 * version 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TransferOrderVo extends ScmReturnVo {

    /**
     * 调出人
     */
    private Long pkWhsmanager;

    /**
     * 公司
     */
    private Integer pkCorp;

    /**
     * 调出公司
     */
    private Integer pkOutCorp;

    /**
     * 调入公司
     */
    private Integer pkInCorp;

    private String corpInName;

    private String countryInName;

    /**
     * 调拨方式 1=公司内调拨 2=公司间调拨 3=国家间调拨
     */
    @Transaction(transactionKey = EnumsPrefixConstants.SCM_TRANSFER_TYPE)
    private Integer transType;

    private String transTypeVal;

    /**
     * 调入国家
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_COUNTRY)
    private Integer pkInCountry;

    private String pkInCountryVal;

    /**
     * 调出国家
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_COUNTRY)
    private Integer pkOutCountry;

    private String pkOutCountryVal;

    @Transaction
    private List<TransferOrderBVo> scmReturnbVoList;
}
