package com.hzs.activity.pick.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 复购提货（迁移）返回VO
 * @Author: jiang chao
 * @Time: 2023/5/31 17:09
 * @Classname: AcRepurchasePickExt
 * @PackageName: com.hzs.common.domain.activity.pick.ext
 */
@Data
public class AcRepurchasePickVO {

    /**
     * 主键
     */
    private Long pkId;

    /**
     * 会员编号
     */
    @Excel(name = "会员编号")
    private String memberCode;
    /**
     * 会员名称
     */
    @Excel(name = "会员姓名")
    private String memberName;

    /**
     * 结算等级翻译KEY
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_GRADE)
    @JsonIgnore
    private Integer gradeKey;
    /**
     * 结算等级显示
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_AWARD)
    @Excel(name = "结算等级")
    private String gradeKeyVal;
    /**
     * 真实奖衔翻译KEY
     */
    @JsonIgnore
    private Integer awardsKey;
    /**
     * 真实奖衔显示
     */
    @Excel(name = "真实奖衔")
    private String awardsKeyVal;

    /**
     * 所属团队
     */
    @Excel(name = "所属团队")
    private String teamName;
    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String waresName;

    /**
     * 礼包数量
     */
    @Excel(name = "礼包数量")
    private Integer buyQuantity;
    /**
     * 可提数量
     */
    @Excel(name = "可提数量")
    private Integer usableQuantity;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderCode;
    /**
     * 支付时间
     */
    @Excel(name = "支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

}
