/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.guosen.bussiness.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiOperation;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-07-08
 */
@Data
@TableName("cyzh_bussiness")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Bussiness对象", description = "Bussiness对象")
public class Bussiness extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 组织机构代码证
	 */
	private String organizationCodeLicense;

	/**
	 * 税务登记证
	 */
	private String taxAffairsLicense;

	/**
	 * 营业执照
	 */
	private String businessLicense;

	/**
	 * 密钥
	 */

	private String secret;
	/**
	 * 图标

	 */
	private String icon;

	/**
	* 商户号名称
	*/
		@ApiModelProperty(value = "商户号名称")
		private String name;
	/**
	* 每日提现上限
	*/
		@ApiModelProperty(value = "每日提现上限")
		private BigDecimal maxLimit;
	/**
	* 关联账号的名称
	*/
		@ApiModelProperty(value = "关联账号的名称")
		private String userName;
	/**
	* 关联账号的密码
	*/
		@ApiModelProperty(value = "关联账号的密码")
		private String userPassword;
	/**
	* 关联账号的id
	*/
		@ApiModelProperty(value = "关联账号的id")
		private Long accountId;

	/**
	 * 代付结果回调地址
	 */
	@ApiModelProperty(value = "代付结果回调地址")
	private String recallUrl;

	/**
	 * 可用余额
	 */
	@ApiModelProperty(value = "可用余额")
	private String remain;

	/**
	 * 服务费率
	 */
	@ApiModelProperty(value = "服务费率")
	private BigDecimal serviceRate;

	/**
	 * api文档链接
	 */
	@ApiModelProperty(value = "api文档链接")
	private String apiFilePath;

	/**
	 * 版本号
	 */
	@ApiModelProperty(value = "api文档链接")
	private Integer version;

	/**
	 * 可用余额
	 */
	@ApiModelProperty(value = "冻结余额")
	private String freeze;

	@ApiModelProperty(value = "最少充值金额")
	private BigDecimal leastPrice;

	//1-禁用，0-启用
	@ApiModelProperty(value = "是否禁用")
	private Integer enable;

	/**
	 * 第三方商户编号
	 */
	@ApiModelProperty(value = "第三方商户编号")
	private String merchantNo;

	/**
	 * 进件状态
	 */
	@ApiModelProperty(value = "进件状态")
	private Integer registerStatus;

	@ApiModelProperty(value = "上级商户")
	private Long parentBussinessId;

	/**
	 * 10 平台商
	 * 20 入驻商
	 */
	@ApiModelProperty(value = "商户类型")
	private Integer bussinessType;

	/**
	 * 产品策略ID
	 */
	@ApiModelProperty(value = "产品策略ID")
	private Long rateStrategyId;

	/**
	 * 入驻商产品策略ID
	 */
	@ApiModelProperty(value = "入驻商产品策略ID")
	private Long subRateStrategyId;

	/**
	 * 入驻商产品策略ID
	 */
	@ApiModelProperty(value = "小微商产品策略ID")
	private Long microRateStrategyId;

	/**
	 * 入驻商产品策略ID
	 */
	@ApiModelProperty(value = "采购商进件回调通知")
	private String registerNotifyUrl;




}
