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_registration_teacher")
@Schema(description = "活动报名老师关联实体")
public class BizContestRegistrationTeacher implements Serializable {

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

    @Schema(description = "报名ID")
    @TableField("registration_id")
    private Long registrationId;

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

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

    @Schema(description = "是否默认")
    @TableField("is_default")
    private Boolean isDefault;

    @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;
}
