package com.lesingle.modules.biz.contest.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("t_biz_contest_team_member")
@Schema(description = "活动团队成员实体")
public class BizContestTeamMember implements Serializable {

    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "租户ID")
    @TableField("tenant_id")
    private Long tenantId;

    @Schema(description = "团队ID")
    @TableField("team_id")
    private Long teamId;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "角色：member/leader/mentor")
    private String role;

    @Schema(description = "创建人ID")
    private Integer creator;

    @Schema(description = "修改人ID")
    private Integer modifier;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @TableField("modify_time")
    private LocalDateTime modifyTime;
}
