package cn.ysk.cashier.dto.shop;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author GYJ
 */
@Data
public class TbShopRechargeRespDto {
    private Integer id;
    private String shopId;
    private String shopName;
    private String userId;
    private String userName;
    private String userPhone;
    private Object rechargeAmount;
    private String rechargeType;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rechargeTime;

    public TbShopRechargeRespDto(Integer id, String shopId, String shopName, String userId, String userName, String userPhone,
                                 String rechargeAmount, String rechargeType, Date rechargeTime) {
        this.id = id;
        this.shopId = shopId;
        this.shopName = shopName;
        this.userId = userId;
        this.userName = userName;
        this.userPhone = userPhone;
        this.rechargeAmount = rechargeAmount;
        this.rechargeType = rechargeType;
        this.rechargeTime = rechargeTime;
    }
}
