package com.rj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 陪练主表
 * </p>
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("training_main")
@Schema(description = "陪练主表")
public class TrainingMain implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键，UUID")
    @TableId("id")
    private String id;

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

    @Schema(description = "场景ID")
    @TableField("scenario_id")
    private String scenarioId;

    @Schema(description = "陪练标题")
    @TableField("title")
    private String title;

    @Schema(description = "陪练的场景")
    @TableField("scenario")
    private String scenario;

    @Schema(description = "参与人姓名")
    @TableField("participant_name")
    private String participantName;

    @Schema(description = "参与人电话")
    @TableField("participant_phone")
    private String participantPhone;

    @Schema(description = "结束时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @Schema(description = "结束状态")
    @TableField("finish_status")
    private String finishStatus;


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

