package com.starry.admin.modules.system.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.starry.common.domain.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 租户充值信息对象 sys_tenant_recharge_info
 *
 * @author admin
 * @since 2024-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_tenant_recharge_info")
public class SysTenantRechargeInfoEntity extends BaseEntity<SysTenantRechargeInfoEntity> {

    /**
     * UUID
     */
    private String id;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 充值金额
     */
    private String rechargeAmount;

    /**
     * 充值用户
     */
    private String rechargeUser;

    /**
     * 充值时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime rechargeTime;

    /**
     * 支付方式，1:微信支付,2:支付宝支付;3:银行卡支付
     */
    private String payMethod;

    /**
     * 支付账号
     */
    private String payAccount;

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

}
