package com.red.circle.other.infra.database.rds.entity.team;

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.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商务拓展团队表.
 * </p>
 *
 * @author pengshigang
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_business_development_team")
public class BusinessDevelopmentTeam extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 来源app.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 商务拓展 userId.
   */
  @TableField("user_id")
  private Long userId;

  /**
   * 代理 userId.
   */
  @TableField("agent_id")
  private Long agentId;

  /**
   * 团队id.
   */
  @TableField("team_id")
  private Long teamId;

}
