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-10-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pmg_bat_park_pay_org_wallet")
@ApiModel(value="PmgBatParkPayOrgWallet对象", description="机构钱包信息表")
public class PmgBatParkPayOrgWallet extends BaseEntity {

    /**
     * 机构钱包编码
     */
    @ApiModelProperty(name = "orgWalletCode", value = "机构钱包编码")
    private String orgWalletCode;

    /**
     * 账户类型（1：主机构钱包，2：子机构钱包）
     */
    @ApiModelProperty(name = "orgWalletAccountType", value = "账户类型（1：主机构钱包，2：子机构钱包）")
    private String orgWalletAccountType;

    /**
     * 机构钱包类型（1：平台机构钱包，2：渠道机构钱包）
     */
    @ApiModelProperty(name = "orgWalletType", value = "机构钱包类型（1：平台机构钱包，2：渠道机构钱包）")
    private String orgWalletType;
    /**
     * 归属机构
     */
    @ApiModelProperty(name = "ownershipOrgId", value = "归属机构")
    private Long ownershipOrgId;
    /**
     * 归属运营商
     */
    @ApiModelProperty(name = "ownershipOperatorId", value = "归属运营商")
    private Long ownershipOperatorId;
    /**
     * 机构钱包状态（1：正常，2：冻结）
     */
    @ApiModelProperty(name = "orgWalletState", value = "机构钱包状态（1：正常，2：冻结）")
    private String orgWalletState;
    /**
     * 机构类型
     */
    @ApiModelProperty(name = "orgType", value = "机构类型")
    private String orgType;
    /**
     * 机构名称
     */
    @ApiModelProperty(name = "orgName", value = "机构名称")
    private String orgName;
    /**
     * 机构统一信用代码
     */
    @ApiModelProperty(name = "orgCode", value = "机构统一信用代码")
    private String orgCode;
    /**
     * 认证状态:0未认证,1已认证,2已过期(V-rebuild1.0新增),3认证中
     */
    @ApiModelProperty(value = "认证状态:0未认证,1已认证,2已过期(V-rebuild1.0新增),3认证中")
    private Integer cerStatus;
    /**
     * 上级机构
     */
    @ApiModelProperty(name = "orgParentName", value = "上级机构")
    private String orgParentName;
    /**
     * 上级机构id
     */
    @ApiModelProperty(name = "orgParentId", value = "上级机构id")
    private Long orgParentId;
    /**
     * 联系人
     */
    @ApiModelProperty(name = "contactPerson", value = "联系人")
    private String contactPerson;
    /**
     * 联系方式
     */
    @ApiModelProperty(name = "contactPhone", value = "联系方式")
    private String contactPhone;
    /**
     * 联系地址
     */
    @ApiModelProperty(name = "contactAddress", value = "联系地址")
    private String contactAddress;
    /**
     * 联系邮箱
     */
    @ApiModelProperty(name = "contactEmail", value = "联系邮箱")
    private String contactEmail;
    /**
     * 营业执照
     */
    @ApiModelProperty(name = "businessLicense", value = "营业执照")
    private String businessLicense;
    /**
     * 钱包总余额（单位：分）
     */
    @ApiModelProperty(name = "orgWalletTotalCost", value = "钱包总余额（单位：分）")
    private Long orgWalletTotalCost;
    /**
     * 钱包可用余额（单位：分）
     */
    @ApiModelProperty(name = "orgWalletAvailableCost", value = "钱包可用余额（单位：分）")
    private Long orgWalletAvailableCost;
    /**
     * 钱包业务冻结余额（单位：分）
     */
    @ApiModelProperty(name = "orgWalletFreezeCost", value = "钱包业务冻结余额（单位：分）")
    private Long orgWalletFreezeCost;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;



}
