package top.continew.admin.business.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableName;
import top.continew.starter.extension.crud.model.entity.BaseDO;
import java.io.Serial;

/**
 * 签到实体
 *
 * @author jiay
 * @since 2025/06/26 10:24
 */
@Data
@TableName("t_sign_in")
public class SignInDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;
    private String userName;

    /**
     * 学号
     */
    private String stuNo;

    /**
     * 手机
     */
    @Schema(description = "手机")
    private String phone;

    /**
     * 课程id
     */
    private Long courseId;
    private String courseName;
    /**
     * 请假原因
     */
    private String leaveCause;

    /**
     * 1、签到 2、请假 3、旷课
     */
    private Integer signIn;

    /**
     * 经纬度
     */
    private String location;
}
