feat: 🎸 课程增加 ai伴学 字段
This commit is contained in:
parent
f020747b1f
commit
40bfe138f0
@ -22,7 +22,7 @@ import lombok.experimental.Accessors;
|
|||||||
/**
|
/**
|
||||||
* @Description: 课程
|
* @Description: 课程
|
||||||
* @Author: jeecg-boot
|
* @Author: jeecg-boot
|
||||||
* @Date: 2025-08-31
|
* @Date: 2025-09-02
|
||||||
* @Version: V1.0
|
* @Version: V1.0
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ -36,105 +36,109 @@ public class AiolCourse implements Serializable {
|
|||||||
/**主键*/
|
/**主键*/
|
||||||
@TableId(type = IdType.ASSIGN_ID)
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
@Schema(description = "主键")
|
@Schema(description = "主键")
|
||||||
private String id;
|
private java.lang.String id;
|
||||||
/**课程名*/
|
/**课程名*/
|
||||||
@Excel(name = "课程名", width = 15)
|
@Excel(name = "课程名", width = 15)
|
||||||
@Schema(description = "课程名")
|
@Schema(description = "课程名")
|
||||||
private String name;
|
private java.lang.String name;
|
||||||
/**封面图*/
|
/**封面图*/
|
||||||
@Excel(name = "封面图", width = 15)
|
@Excel(name = "封面图", width = 15)
|
||||||
@Schema(description = "封面图")
|
@Schema(description = "封面图")
|
||||||
private String cover;
|
private java.lang.String cover;
|
||||||
/**介绍视频*/
|
/**介绍视频*/
|
||||||
@Excel(name = "介绍视频", width = 15)
|
@Excel(name = "介绍视频", width = 15)
|
||||||
@Schema(description = "介绍视频")
|
@Schema(description = "介绍视频")
|
||||||
private String video;
|
private java.lang.String video;
|
||||||
/**学校*/
|
/**学校*/
|
||||||
@Excel(name = "学校", width = 15)
|
@Excel(name = "学校", width = 15)
|
||||||
@Schema(description = "学校")
|
@Schema(description = "学校")
|
||||||
private String school;
|
private java.lang.String school;
|
||||||
/**课程概述*/
|
/**课程概述*/
|
||||||
@Excel(name = "课程概述", width = 15)
|
@Excel(name = "课程概述", width = 15)
|
||||||
@Schema(description = "课程概述")
|
@Schema(description = "课程概述")
|
||||||
private String description;
|
private java.lang.String description;
|
||||||
/**课程类型*/
|
/**课程类型*/
|
||||||
@Excel(name = "课程类型", width = 15, dicCode = "course_type")
|
@Excel(name = "课程类型", width = 15, dicCode = "course_type")
|
||||||
@Dict(dicCode = "course_type")
|
@Dict(dicCode = "course_type")
|
||||||
@Schema(description = "课程类型")
|
@Schema(description = "课程类型")
|
||||||
private Integer type;
|
private java.lang.Integer type;
|
||||||
/**授课目标*/
|
/**授课目标*/
|
||||||
@Excel(name = "授课目标", width = 15)
|
@Excel(name = "授课目标", width = 15)
|
||||||
@Schema(description = "授课目标")
|
@Schema(description = "授课目标")
|
||||||
private String target;
|
private java.lang.String target;
|
||||||
/**课程难度*/
|
/**课程难度*/
|
||||||
@Excel(name = "课程难度", width = 15, dicCode = "course_difficulty")
|
@Excel(name = "课程难度", width = 15, dicCode = "course_difficulty")
|
||||||
@Dict(dicCode = "course_difficulty")
|
@Dict(dicCode = "course_difficulty")
|
||||||
@Schema(description = "课程难度")
|
@Schema(description = "课程难度")
|
||||||
private Integer difficulty;
|
private java.lang.Integer difficulty;
|
||||||
/**所属专题*/
|
/**所属专题*/
|
||||||
@Excel(name = "所属专题", width = 15, dicCode = "course_subject")
|
@Excel(name = "所属专题", width = 15, dicCode = "course_subject")
|
||||||
@Dict(dicCode = "course_subject")
|
@Dict(dicCode = "course_subject")
|
||||||
@Schema(description = "所属专题")
|
@Schema(description = "所属专题")
|
||||||
private String subject;
|
private java.lang.String subject;
|
||||||
/**课程大纲*/
|
/**课程大纲*/
|
||||||
@Excel(name = "课程大纲", width = 15)
|
@Excel(name = "课程大纲", width = 15)
|
||||||
@Schema(description = "课程大纲")
|
@Schema(description = "课程大纲")
|
||||||
private String outline;
|
private java.lang.String outline;
|
||||||
/**预备知识*/
|
/**预备知识*/
|
||||||
@Excel(name = "预备知识", width = 15)
|
@Excel(name = "预备知识", width = 15)
|
||||||
@Schema(description = "预备知识")
|
@Schema(description = "预备知识")
|
||||||
private String prerequisite;
|
private java.lang.String prerequisite;
|
||||||
/**参考资料*/
|
/**参考资料*/
|
||||||
@Excel(name = "参考资料", width = 15)
|
@Excel(name = "参考资料", width = 15)
|
||||||
@Schema(description = "参考资料")
|
@Schema(description = "参考资料")
|
||||||
private String reference;
|
private java.lang.String reference;
|
||||||
/**学时安排*/
|
/**学时安排*/
|
||||||
@Excel(name = "学时安排", width = 15)
|
@Excel(name = "学时安排", width = 15)
|
||||||
@Schema(description = "学时安排")
|
@Schema(description = "学时安排")
|
||||||
private String arrangement;
|
private java.lang.String arrangement;
|
||||||
/**开课时间*/
|
/**开课时间*/
|
||||||
@Excel(name = "开课时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "开课时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "开课时间")
|
@Schema(description = "开课时间")
|
||||||
private Date startTime;
|
private java.util.Date startTime;
|
||||||
/**结课时间*/
|
/**结课时间*/
|
||||||
@Excel(name = "结课时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "结课时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "结课时间")
|
@Schema(description = "结课时间")
|
||||||
private Date endTime;
|
private java.util.Date endTime;
|
||||||
/**已报名人数*/
|
/**已报名人数*/
|
||||||
@Excel(name = "已报名人数", width = 15)
|
@Excel(name = "已报名人数", width = 15)
|
||||||
@Schema(description = "已报名人数")
|
@Schema(description = "已报名人数")
|
||||||
private Integer enrollCount;
|
private java.lang.Integer enrollCount;
|
||||||
/**最大报名人数*/
|
/**最大报名人数*/
|
||||||
@Excel(name = "最大报名人数", width = 15)
|
@Excel(name = "最大报名人数", width = 15)
|
||||||
@Schema(description = "最大报名人数")
|
@Schema(description = "最大报名人数")
|
||||||
private Integer maxEnroll;
|
private java.lang.Integer maxEnroll;
|
||||||
/**状态*/
|
/**状态*/
|
||||||
@Excel(name = "状态", width = 15, dicCode = "course_status")
|
@Excel(name = "状态", width = 15, dicCode = "course_status")
|
||||||
@Dict(dicCode = "course_status")
|
@Dict(dicCode = "course_status")
|
||||||
@Schema(description = "状态")
|
@Schema(description = "状态")
|
||||||
private Integer status;
|
private java.lang.Integer status;
|
||||||
/**常见问题*/
|
/**常见问题*/
|
||||||
@Excel(name = "常见问题", width = 15)
|
@Excel(name = "常见问题", width = 15)
|
||||||
@Schema(description = "常见问题")
|
@Schema(description = "常见问题")
|
||||||
private String question;
|
private java.lang.String question;
|
||||||
|
/**是否ai伴学模式*/
|
||||||
|
@Excel(name = "是否ai伴学模式", width = 15)
|
||||||
|
@Schema(description = "是否ai伴学模式")
|
||||||
|
private java.lang.Integer izAi;
|
||||||
/**创建人*/
|
/**创建人*/
|
||||||
@Schema(description = "创建人")
|
@Schema(description = "创建人")
|
||||||
private String createBy;
|
private java.lang.String createBy;
|
||||||
/**创建时间*/
|
/**创建时间*/
|
||||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "创建时间")
|
@Schema(description = "创建时间")
|
||||||
private Date createTime;
|
private java.util.Date createTime;
|
||||||
/**更新人*/
|
/**更新人*/
|
||||||
@Schema(description = "更新人")
|
@Schema(description = "更新人")
|
||||||
private String updateBy;
|
private java.lang.String updateBy;
|
||||||
/**更新时间*/
|
/**更新时间*/
|
||||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "更新时间")
|
@Schema(description = "更新时间")
|
||||||
private Date updateTime;
|
private java.util.Date updateTime;
|
||||||
}
|
}
|
||||||
|
@ -101,6 +101,11 @@ export const columns: BasicColumn[] = [
|
|||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'question',
|
dataIndex: 'question',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '是否ai伴学模式',
|
||||||
|
align:"center",
|
||||||
|
dataIndex: 'izAi'
|
||||||
|
},
|
||||||
];
|
];
|
||||||
//查询数据
|
//查询数据
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
@ -228,6 +233,11 @@ export const formSchema: FormSchema[] = [
|
|||||||
label: '常见问题',
|
label: '常见问题',
|
||||||
field: 'question',
|
field: 'question',
|
||||||
component: 'JEditor',
|
component: 'JEditor',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '是否ai伴学模式',
|
||||||
|
field: 'izAi',
|
||||||
|
component: 'InputNumber',
|
||||||
},
|
},
|
||||||
// TODO 主键隐藏字段,目前写死为ID
|
// TODO 主键隐藏字段,目前写死为ID
|
||||||
{
|
{
|
||||||
@ -259,6 +269,7 @@ export const superQuerySchema = {
|
|||||||
maxEnroll: {title: '最大报名人数',order: 16,view: 'number', type: 'number',},
|
maxEnroll: {title: '最大报名人数',order: 16,view: 'number', type: 'number',},
|
||||||
status: {title: '状态',order: 17,view: 'number', type: 'number',dictCode: 'course_status',},
|
status: {title: '状态',order: 17,view: 'number', type: 'number',dictCode: 'course_status',},
|
||||||
question: {title: '常见问题',order: 18,view: 'umeditor', type: 'string',},
|
question: {title: '常见问题',order: 18,view: 'umeditor', type: 'string',},
|
||||||
|
izAi: {title: '是否ai伴学模式',order: 19,view: 'number', type: 'number',},
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user