package com.yuchen.saas.payment.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * <p>
 * 个人钱包信息表
 * </p>
 *
 * @author zhouhanwei
 * @since 2023-04-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pmg_bat_park_pay_user_wallet")
@ApiModel(value="PmgBatParkPayUserWallet对象", description="个人钱包信息表")
public class PmgBatParkPayUserWallet extends BaseEntity {

    /**
     * 钱包编号
     */
    @ApiModelProperty(name = "walletCode", value = "钱包编号")
    private String walletCode;

    /**
     * 钱包账户类型（1：个人钱包，2：机构钱包）
     */
    @ApiModelProperty(name = "walletAccountType", value = "钱包账户类型（1：个人钱包，2：机构子钱包）")
    private String walletAccountType;
    /**
     * 钱包状态（1：正常，2：冻结）
     */
    @ApiModelProperty(name = "walletAccountState", value = "钱包状态（1：正常，2：冻结）")
    private String walletAccountState;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "walletUserId", value = "用户id")
    private Long walletUserId;
    /**
     * openId
     */
    @ApiModelProperty(name = "walletOpenId", value = "openId")
    private String walletOpenId;
    /**
     * 主体类型（1：个人，2：企业）
     */
    @ApiModelProperty(name = "subjectType", value = "主体类型（1：个人，2：企业）")
    private String subjectType;
    /**
     * 主体手机号
     */
    @ApiModelProperty(name = "subjectPhone", value = "主体手机号")
    private String subjectPhone;
    /**
     * 钱包总余额（单位：分）
     */
    @ApiModelProperty(name = "walletTotalCost", value = "钱包总余额（单位：分）")
    private Long walletTotalCost;
    /**
     * 钱包可用总余额（单位：分）
     */
    @ApiModelProperty(name = "walletAvailableCost", value = "钱包可用余额（单位：分）")
    private Long walletAvailableCost;

    /**
     * 钱包业务冻结余额（单位：分）
     */
    @ApiModelProperty(name = "walletFreezeCost", value = "钱包业务冻结余额（单位：分）")
    private Long walletFreezeCost;
    /**
     * 钱包退款冻结余额（单位：分）
     */
    @ApiModelProperty(name = "walletRefundFreezeCost", value = "钱包退款冻结余额（单位：分）")
    private Long walletRefundFreezeCost;

    /**
     * 所属运营商id
     */
    @ApiModelProperty(name = "ownershipOperatorId", value = "运营商id")
    private Long ownershipOperatorId;

    /**
     * 所属机构钱包id
     */
    @ApiModelProperty(name = "ownershipOrgWalletId", value = "所属机构钱包id")
    private Long ownershipOrgWalletId;

    /**
     * 应用id
     */
    @ApiModelProperty(name = "appId", value = "应用id")
    private String appId;

    /**
     * 应用id
     */
    @ApiModelProperty(name = "applyId", value = "应用id")
    private Long applyId;



}
