package com.hzs.sale.order.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: 撤销订单返回VO
 * @Author: jiang chao
 * @Time: 2023/3/1 18:01
 * @Classname: OrderCancelRegisterVO
 * @PackageName: com.hzs.sale.order.vo
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class OrderCancelVO {

    /**
     * 订单编号
     */
    private String orderCode;

    /**
     * 会员编号
     */
    private String memberCode;

    /**
     * 会员姓名
     */
    private String memberName;

    /**
     * 订单伞下会员
     */
    private List<OrderCancelRegisterMemberVO> memberList;

    private List<OrderCancelDetailVO> orderCancelDetailVOList;

    /**
     * 币种
     */
    private Integer pkAccount;
    /**
     * 币种翻译KEY
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_ACC)
    @JsonIgnore
    private Integer accountKey;
    /**
     * 币种翻译显示
     */
    private String accountKeyVal;
    /**
     * 费用
     */
    private BigDecimal cost;

}
