
package com.czg.market.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.fastjson2.annotation.JSONField;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 充值流水表 实体类。
 *
 * @author zs
 * @since 2025-09-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MkRechargeFlowDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 门店id
     */
    private Long shopId;

    /**
     * 主店id
     */
    private Long masterShopId;

    /**
     * 用户手机号
     */
    private String phone;

    /**
     * 用户名
     */
    private String nickName;

    /**
     * 充值金额
     */
    private BigDecimal amount;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 备注
     */
    private String remark;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 现金充值 recharge_cash 
微信充值 recharge_wx 
支付宝 recharge_alipay  
充值奖励recharge_reward_amount 
充值退款 recharge_refund 
订单消费 order_cost 
订单退款 order_refund 
管理员充值 recharge_admin 
管理员消费 admin_cost
     */
    private String type;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
