/*
 *      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.ldt.shop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.math.BigDecimal;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-09-30
 */
@Data
@TableName("ldt_shop")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Shop对象", description = "Shop对象")
public class Shop extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 商户名称
	 */
	@ApiModelProperty(value = "商户名称")
	private String name;
	/**
	 * 代理人
	 */
	@ApiModelProperty(value = "代理人")
	private Long agenter;
	/**
	 * 代理人头像
	 */
	@ApiModelProperty(value = "代理人头像")
	private String agentAvatar;
	/**
	 * 代理人姓名
	 */
	@ApiModelProperty(value = "代理人姓名")
	private String agentName;
	/**
	 * 商场id
	 */
	@ApiModelProperty(value = "商场id")
	private Long mallId;
	/**
	 * 负责人
	 */
	@ApiModelProperty(value = "负责人")
	private String personName;
	/**
	 * 联系方式
	 */
	@ApiModelProperty(value = "联系方式")
	private String personTel;
	/**
	 * 区域编码
	 */
	@ApiModelProperty(value = "区域编码")
	private String locationCode;
	/**
	 * 所在地区
	 */
	@ApiModelProperty(value = "所在地区")
	private String location;
	/**
	 * 商户封面
	 */
	@ApiModelProperty(value = "商户封面")
	private String cover;
	/**
	 * 商户logo
	 */
	@ApiModelProperty(value = "商户logo")
	private String logo;
	/**
	 * 父标签ids,逗号分割
	 */
	@ApiModelProperty(value = "父标签ids,逗号分割")
	private String labelParentIds;
	/**
	 * 商户标签json字符串
	 */
	@ApiModelProperty(value = "商户标签json字符串")
	private String labelJson;
	/**
	 * 商户标签key
	 */
	@ApiModelProperty(value = "商户标签key")
	private String labelKey;
	/**
	 * 销量
	 */
	@ApiModelProperty(value = "销量")
	private Integer sales;
	/**
	 * 店铺图片
	 */
	@ApiModelProperty(value = "店铺图片")
	private String shopPic;
	/**
	 * 积分兑率
	 */
	@ApiModelProperty(value = "积分兑率")
	private BigDecimal pointRate;
	/**
	 * 积分
	 */
	@ApiModelProperty(value = "积分")
	private BigDecimal point;
	/**
	 * 账户余额
	 */
	@ApiModelProperty(value = "账户余额")
	private BigDecimal balance;
	/**
	 * 提现密码
	 */
	@ApiModelProperty(value = "提现密码")
	private String secret;
	/**
	 * 是否启用会员中心
	 */
	@ApiModelProperty(value = "是否启用会员中心")
	private Integer isOpenMember;
	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱")
	private String email;
	/**
	 * 总价值
	 */
	@ApiModelProperty(value = "总价值")
	private BigDecimal totalValue;
	/**
	 * 会员数量
	 */
	@ApiModelProperty(value = "会员数量")
	private Integer memberCount;
	/**
	 * 标语，逗号分割
	 */
	@ApiModelProperty(value = "标语，逗号分割")
	private String slogan;
	/**
	 * 审核状态
	 */
	@ApiModelProperty(value = "审核状态")
	private String auditStatus;
	/**
	 * 审核意见
	 */
	@ApiModelProperty(value = "审核意见")
	private String auditAdvice;
	/**
	 * 账单应收【未核销】
	 */
	@ApiModelProperty(value = "账单应收【未核销】")
	private BigDecimal charge;
	/**
	 * 可提现余额【已核销】
	 */
	@ApiModelProperty(value = "可提现余额【已核销】")
	private BigDecimal withdrawCharge;
	/**
	 * 经度
	 */
	@ApiModelProperty(value = "经度")
	private String longitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value = "纬度")
	private String latitude;
	/**
	 * 详细地址
	 */
	@ApiModelProperty(value = "详细地址")
	private String address;
	/**
	 * 参加活动的id
	 */
	@ApiModelProperty(value = "参加活动的id")
	private Long activityId;
	/**
	 * 定义多少金额赠送积分
	 */
	@ApiModelProperty(value = "定义多少金额赠送积分")
	private BigDecimal sendPointUnit;
	/**
	 * 评分
	 */
	@ApiModelProperty(value = "评分")
	private BigDecimal score;
	/**
	 * 易宝商户编号
	 */
	@ApiModelProperty(value = "易宝商户编号")
	private String merchantNo;
	/**
	 * openId
	 */
	@ApiModelProperty(value = "openId")
	private String openId;
	/**
	 * 总余额
	 */
	@ApiModelProperty(value = "总余额")
	private BigDecimal totalBalance;
	/**
	 * 总积分
	 */
	@ApiModelProperty(value = "总积分")
	private BigDecimal totalPoint;

	@ApiModelProperty(value = "业务员id")
	private Long salesmanId;
}
