/*
 *      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.mall.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-23
 */
@Data
@TableName("ldt_mall")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Mall对象", description = "Mall对象")
public class Mall extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 商场名称
	 */
	@ApiModelProperty(value = "商场名称")
	private String mallName;
	/**
	 * 所在区域编码
	 */
	@ApiModelProperty(value = "所在区域编码")
	private String locationCode;
	/**
	 * 所在区域
	 */
	@ApiModelProperty(value = "所在区域")
	private String location;
	/**
	 * 负责人名称
	 */
	@ApiModelProperty(value = "负责人名称")
	private String personName;
	/**
	 * 负责人联系方式
	 */
	@ApiModelProperty(value = "负责人联系方式")
	private String personTel;
	/**
	 * 商城logo
	 */
	@ApiModelProperty(value = "商城logo")
	private String logo;
	/**
	 * 会员数量
	 */
	@ApiModelProperty(value = "会员数量")
	private Integer memberNum;
	/**
	 * 账户余额
	 */
	@ApiModelProperty(value = "账户余额")
	private BigDecimal balance;
	/**
	 * 积分兑率
	 */
	@ApiModelProperty(value = "积分兑率")
	private BigDecimal pointRate;
	/**
	 * 账期（天）
	 */
	@ApiModelProperty(value = "账期（天）")
	private Integer billDelay;
	/**
	 * 商场描述
	 */
	@ApiModelProperty(value = "商场描述")
	private String intro;
	/**
	 * 积分
	 */
	@ApiModelProperty(value = "积分")
	private BigDecimal point;
	/**
	 * 是否启用会员中心
	 */
	@ApiModelProperty(value = "是否启用会员中心")
	private Integer useMember;
	/**
	 * 定义多少金额赠送积分
	 */
	@ApiModelProperty(value = "定义多少金额赠送积分")
	private BigDecimal sendPointUnnit;
	/**
	 * 父标签ids,逗号分割
	 */
	@ApiModelProperty(value = "父标签ids,逗号分割")
	private String labelParentIds;
	/**
	 * 商户标签json字符串
	 */
	@ApiModelProperty(value = "商户标签json字符串")
	private String labelJson;
	/**
	 * 商户标签key
	 */
	@ApiModelProperty(value = "商户标签key")
	private String labelKey;
	/**
	 * 商户标签value
	 */
	@ApiModelProperty(value = "商户标签value")
	private String labelValue;
	/**
	 * 经度
	 */
	@ApiModelProperty(value = "经度")
	private String longitude;
	/**
	 * 纬度
	 */
	@ApiModelProperty(value = "纬度")
	private String latitude;
	/**
	 * 具体地址
	 */
	@ApiModelProperty(value = "具体地址")
	private String address;
	/**
	 * 易宝商户编号
	 */
	@ApiModelProperty(value = "易宝商户编号")
	private String merchantNo;

	/**
	 * 审核状态
	 */
	@ApiModelProperty(value = "审核状态")
	private String auditStatus;
	/**
	 * 审核意见
	 */
	@ApiModelProperty(value = "审核意见")
	private String auditAdvice;

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

}
