package com.hzs.common.domain.member.store;

import com.baomidou.mybatisplus.annotation.*;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 店铺设置
 *
 * @author hzs
 * @since 2023-05-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("CU_STORE")
@KeySequence("CU_STORE_SEQ")
public class CuStore extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 店铺编号
     */
    @TableField("STORE_CODE")
    private String storeCode;

    /**
     * 店铺名称
     */
    @TableField("STORE_NAME")
    private String storeName;

    /**
     * 省
     */
    @TableField("PROVINCE")
    private Integer province;

    /**
     * 市
     */
    @TableField("CITY")
    private Integer city;

    /**
     * 区、县
     */
    @TableField("COUNTY")
    private Integer county;

    /**
     * 详细地址
     */
    @TableField("ADDRESS")
    private String address;

    /**
     * 店长编号
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 店长姓名
     */
    @TableField("SHOPOWNER")
    private String shopowner;

    /**
     * 店铺等级
     */
    @TableField("PK_STORE_LEVEL")
    private Integer pkStoreLevel;

    /**
     * 金额
     */
    @TableField("AMOUNT")
    private BigDecimal amount;

    /**
     * 业绩
     */
    @TableField("ACHIEVE")
    private BigDecimal achieve;

    /**
     * 联系人
     */
    @TableField("STORE_PERSON")
    private String storePerson;

    /**
     * 联系方式
     */
    @TableField("STORE_PHONE")
    private String storePhone;

    /**
     * 绑定省
     */
    @TableField("BINDING_PROVINCE")
    private String bindingProvince;
    /**
     * 绑定国家
     */
    @TableField(value = "BINDING_COUNTRY")
    private String bindingCountry;


}
