package com.chushang.inspection.terminal.po;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chushang.common.mybatis.base.BaseEntity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
  * @auther: zhao
  * @date: 2024/6/21 16:39
  */
/**
 * 五统一商户明细(内蒙古建行随付贷)
 */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "st_five_store")
public class FiveStore extends BaseEntity {
    /**
     * 五商户id
     */
    @TableId(value = "five_id", type = IdType.ASSIGN_ID)
    private Long fiveId;

    /**
     * 终端id
     */
    @TableField(value = "terminal_id")
    private Long terminalId;

    /**
     * 商户id
     */
    @TableField(value = "store_id")
    private Long storeId;

    /**
     * 租户id
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 一级分行id
     */
    @TableField(value = "first_level_branch")
    private Long firstLevelBranch;

    /**
     * 一级分行名称
     */
    @TableField(value = "first_level_branch_name")
    private String firstLevelBranchName;

    /**
     * 二级分行
     */
    @TableField(value = "secondary_branches")
    private Long secondaryBranches;

    /**
     * 当年新签约商户标志
     */
    @TableField(value = "new_year")
    private Integer newYear;

    /**
     * 当月新签约商户标志
     */
    @TableField(value = "new_month")
    private Integer newMonth;

    /**
     * 当日新签约商户标志
     */
    @TableField(value = "new_day")
    private Integer newDay;

    /**
     * 客户名称
     */
    @TableField(value = "client_name")
    private String clientName;

    /**
     * 客户身份标识
     */
    @TableField(value = "customer_id")
    private Long customerId;

    /**
     * 营销日期
     */
    @TableField(value = "marketing_date")
    private LocalDate marketingDate;

    /**
     * 消费日期
     */
    @TableField(value = "consumption_date")
    private LocalDate consumptionDate;

    /**
     * 营销人
     */
    @TableField(value = "marketer")
    private String marketer;
}
