### lj_course_sub_relation table structure > 此表为课程与单元的对应关系的数据结构 | field | type | null | default | desc | extra | |----|:-----|:-------|:------|:-----|:-----| | id | bigint | no | | 主键 | pri | | course_code | varchar(512) | no | | 课程编码 | | | sub_code | varchar(512) | no | | 单元编码 | | | type | smallint | no | 0 | 类型, 0为课程与课对应关系, 1为课程与单元对应关系 | | | sort | int | no | | 顺序 | 排序字段 | | gmt_created | smallint | no | now | 创建时间 | | | ##### index > unique index on(c_code, t_code)