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

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
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-28
 */
@Data
@TableName("ldt_shop")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Shop对象", description = "Shop对象")
public class Shop extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 商场id
	 */
	@ApiModelProperty(value = "商场id")
	private Long mallId;
	/**
	 * 商场区域id
	 */
	@ApiModelProperty(value = "商场区域id")
	private Long mallAreaId;
	/**
	 * 业务联系人
	 */
	@ApiModelProperty(value = "业务联系人")
	private String personName;
	/**
	 * 业务人身份证信息
	 */
	@ApiModelProperty(value = "业务人身份证信息")
	private String personIdCard;
	/**
	 * 身份证正面图片地址
	 */
	@ApiModelProperty(value = "身份证正面图片地址")
	private String idCardFront;
	/**
	 * 身份证反面图片地址
	 */
	@ApiModelProperty(value = "身份证反面图片地址")
	private String idCardContrary;
	/**
	 * 联系人手机号码
	 */
	@ApiModelProperty(value = "联系人手机号码")
	private String personTel;
	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱")
	private String email;
	/**
	 * 省code
	 */
	@ApiModelProperty(value = "省code")
	private String provinceCode;
	/**
	 * 市code
	 */
	@ApiModelProperty(value = "市code")
	private String cityCode;
	/**
	 * 区code
	 */
	@ApiModelProperty(value = "区code")
	private String areaCode;
	/**
	 * 省
	 */
	@ApiModelProperty(value = "省")
	private String province;
	/**
	 * 市
	 */
	@ApiModelProperty(value = "市")
	private String city;
	/**
	 * 区
	 */
	@ApiModelProperty(value = "区")
	private String area;
	/**
	 * 商户名
	 */
	@ApiModelProperty(value = "商户名")
	private String name;
	/**
	 * 评分
	 */
	@ApiModelProperty(value = "评分")
	private BigDecimal score;
	/**
	 * 封面
	 */
	@ApiModelProperty(value = "封面")
	private String cover;
	/**
	 * 销量
	 */
	@ApiModelProperty(value = "销量")
	private Integer sales;
	/**
	 * 标语，逗号分割
	 */
	@ApiModelProperty(value = "标语，逗号分割")
	private String slogan;
	/**
	 * 经度
	 */
	@ApiModelProperty(value = "经度")
	private String longitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value = "纬度")
	private String latitude;
	/**
	 * 具体地址
	 */
	@ApiModelProperty(value = "具体地址")
	private String address;
	/**
	 * 单位全称
	 */
	@ApiModelProperty(value = "单位全称")
	private String fullName;
	/**
	 * 公司网址
	 */
	@ApiModelProperty(value = "公司网址")
	private String webUrl;
	/**
	 * 法人姓名
	 */
	@ApiModelProperty(value = "法人姓名")
	private String legalPersonName;
	/**
	 * 标签id集合，用“，”隔开
	 */
	@ApiModelProperty(value = "标签id集合，用“，”隔开")
	private String labelIds;

	/**
	 * 标签名称集合，用“，”隔开
	 */
	@ApiModelProperty(value = "标签名称集合，用“，”隔开")
	private String labelNames;
	/**
	 * 营业执照
	 */
	@ApiModelProperty(value = "营业执照")
	private String businessLicense;
	/**
	 * 店铺实况图片
	 */
	@ApiModelProperty(value = "店铺实况图片")
	private String shopPic;
	/**
	 * 审核状态： 0待审核 1-审核通过 2-审核不通过
	 */
	@ApiModelProperty(value = "审核状态： 0待审核 1-审核通过 2-审核不通过 3 停用")
	private Integer auditStatus;
	/**
	 * 审核意见
	 */
	@ApiModelProperty(value = "审核意见")
	private String auditAdvice;

	/**
	 * 会员数量
	 */
	@ApiModelProperty(value = "会员数量")
	private Integer memberCount;

	/**
	 * 积分数
	 */
	@ApiModelProperty(value = "积分数")
	private BigDecimal point;

	/**
	 * 积分数
	 */
	@ApiModelProperty(value = "积分数对应的金额")
	private BigDecimal pointValue;


	/**
	 * 消费一元赠送的积分数
	 */
	@ApiModelProperty(value = "消费一元赠送的积分数")
	private BigDecimal consumeOnePoint;


	/**
	 * 积分总价值
	 */
	@ApiModelProperty(value = "积分总价值")
	private BigDecimal totalPointValue;

	/**
	 * 是否已开启会员中心
	 */
	@ApiModelProperty(value = "是否已开启会员中心")
	private Integer isOpenMember;

	/**
	 * 可提现总金额
	 */
	@ApiModelProperty(value = "可提现总金额")
	private BigDecimal withdrawTotalPrice;

	@ApiModelProperty("总应收")
	private BigDecimal totalFunkPrice;

	/**
	 * 提现密码
	 */
	@ApiModelProperty(value = "提现密码")
	private String withdrawPassword;

	/**
	 * 代理人id
	 */
	@ApiModelProperty(value = "代理人id")
	private Long agenterId;

	/**
	 * 交易笔数
	 */
	@ApiModelProperty(value = "交易笔数")
	private Integer tradeTimes;

}
