123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- package com.example.onlinejudge.model.entity;
- import com.baomidou.mybatisplus.annotation.*;
- import lombok.Data;
- import java.util.Date;
- /**
- * 题目提交
- */
- @TableName(value ="question_submit")
- @Data
- public class QuestionSubmit {
- /**
- * id
- */
- @TableId(type = IdType.ASSIGN_ID)
- private Long id;
- /**
- * 编程语言
- */
- private String language;
- /**
- * 用户代码
- */
- private String code;
- /**
- * 判题信息(json 对象)
- */
- private String judgeInfo;
- /**
- * 判题状态(0 - 待判题、1 - 判题中、2 - 成功、3 - 失败)
- */
- private Integer status;
- /**
- * 题目 id
- */
- private Long questionId;
- /**
- * 创建用户 id
- */
- private Long userId;
- /**
- * 创建时间
- */
- private Date createTime;
- /**
- * 更新时间
- */
- private Date updateTime;
- /**
- * 是否删除
- */
- @TableLogic
- private Integer isDelete;
- @TableField(exist = false)
- private static final long serialVersionUID = 1L;
- }
|