package com.seer.teach.mp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 活动表单执行实例表
 * </p>
 *
 * @author Lingma
 * @since 2026-01-10
 */
@Getter
@Setter
@TableName("mp_activity_form_execution")
@Schema(name = "MpActivityFormExecutionEntity对象", description = "活动表单执行实例表")
public class MpActivityFormExecutionEntity extends BaseEntity {

    /**
     * 执行编号
     */
    @TableField("execution_no")
    private String executionNo;

    /**
     * 活动ID
     */
    @TableField("activity_id")
    private Integer activityId;

    /**
     * 代理商ID
     */
    @TableField("agent_id")
    private Integer agentId;

    /**
     * 使用的表单模板ID
     */
    @TableField("form_id")
    private Integer formId;

    /**
     * 提交人ID（家长ID）
     */
    @TableField("submitter_id")
    private Integer submitterId;

    /**
     * 提交人姓名
     */
    @TableField("submitter_name")
    private String submitterName;

    /**
     * 提交时间
     */
    @TableField("submit_time")
    private LocalDateTime submitTime;

    /**
     * 状态：draft-草稿，submitted-已提交，approved-已批准，rejected-已拒绝
     */
    @TableField("status")
    private String status;

}