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;

/**
 * @Description: 订单业务修改地址返回VO
 * @Author: jiang chao
 * @Time: 2023/2/1 10:08
 * @Classname: OrderBusinessAddressVO
 * @PackageName: com.hzs.sale.order.vo
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class OrderBusinessAddressVO {

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

    /**
     * 会员编号
     */
    private String memberCode;
    /**
     * 会员姓名
     */
    private String memberName;

    /**
     * 收货人
     */
    private String recName;
    /**
     * 收货电话
     */
    private String recPhone;
    /**
     * 省
     */
    private Integer recProvince;
    /**
     * 市
     */
    private Integer recCity;
    /**
     * 县
     */
    private Integer recCounty;
    /**
     * 收货地址
     */
    private String recAddress;

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

}
