package com.hzs.common.domain.ground.order.ext;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.domain.ground.order.SaOrderSettle;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @description: 订单结算表
 * @author: sui q
 * @time: 2024/4/15 15:31
 * @classname: SaOrderSettleExt
 * @package_name: com.hzs.common.domain.ground.order.ext
 * version 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SaOrderSettleExt extends SaOrderSettle {

    private String orderCode;

    /**
     * 产品编号
     */
    private String productCode;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 支付时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    private String settleStatusVal;

    /**
     * 供应商名称
     */
    private String supplyName;

    /**
     * 结算方式 1=线下 2=线上 ESettleType
     */
    private Integer settleType;

    /**
     * 会员主键
     */
    private Long pkMember;

}
