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

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_homework")
public class HomeworkDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 课程id
     */
    private Long courseId;

    /**
     * 未交原因
     */
    private String cause;

    /**
     * 1、已交 2、未交
     */
    private Integer handedIn;
}
