package com.red.circle.console.infra.database.rds.entity.count;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 每日新增，注销用户
 * </p>
 *
 * @author pengliang
 * @since 2020-08-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("statistics_daily_register_logout")
public class StatisticsDailyRegisterLogout extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId("id")
  private Long id;

  /**
   * 日期.
   */
  @TableField("date_number")
  private Integer dateNumber;

  /**
   * 新增男性.
   */
  @TableField("male_count")
  private Integer maleCount;

  /**
   * 注销男性.
   */
  @TableField("male_logout")
  private Integer maleLogout;

  /**
   * 新增女性.
   */
  @TableField("female_count")
  private Integer femaleCount;

  /**
   * 注销女性.
   */
  @TableField("female_logout")
  private Integer femaleLogout;

  /**
   * 统计日期.
   */
  @TableField("statistics_time")
  private Timestamp statisticsTime;

}
