123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- using Furion.DatabaseAccessor;
- using Microsoft.EntityFrameworkCore;
- using System;
- using System.Collections.Generic;
- namespace YBEE.EQM.Core.SeedData;
- /// <summary>
- /// 字典数据种子
- /// </summary>
- public class SysDictDataSeedData : IEntitySeedData<SysDictData>
- {
- /// <summary>
- /// 种子数据
- /// </summary>
- /// <param name="dbContext"></param>
- /// <param name="dbContextLocator"></param>
- /// <returns></returns>
- /// <exception cref="NotImplementedException"></exception>
- public IEnumerable<SysDictData> HasData(DbContext dbContext, Type dbContextLocator)
- {
- return new[]
- {
- // 通用状态
- new SysDictData { Id = 10100001, SysDictTypeId = 101, Value = 1, Name = "正常", Code = "enabled", Sort = 100, Status = CommonStatus.ENABLE, AntStatus = "success" },
- new SysDictData { Id = 10100002, SysDictTypeId = 101, Value = 2, Name = "停用", Code = "disabled", Sort = 100, Status = CommonStatus.ENABLE, AntStatus = "error" },
- new SysDictData { Id = 10100003, SysDictTypeId = 101, Value = 3, Name = "删除", Code = "deleted", Sort = 100, Status = CommonStatus.ENABLE, AntStatus = "default" },
- // 菜单类型
- new SysDictData { Id = 10200001, SysDictTypeId = 102, Value = 1, Name = "目录", Code = "folder", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10200002, SysDictTypeId = 102, Value = 2, Name = "菜单", Code = "menu", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10200003, SysDictTypeId = 102, Value = 3, Name = "按钮", Code = "button", Sort = 100, Status = CommonStatus.ENABLE },
- // 菜单打开方式
- new SysDictData { Id = 10300001, SysDictTypeId = 103, Value = 1, Name = "无", Code = "none", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10300002, SysDictTypeId = 103, Value = 2, Name = "组件", Code = "component", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10300003, SysDictTypeId = 103, Value = 3, Name = "内链", Code = "inner", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10300004, SysDictTypeId = 103, Value = 4, Name = "外链", Code = "outer", Sort = 100, Status = CommonStatus.ENABLE },
- // 登录类型
- new SysDictData { Id = 10400001, SysDictTypeId = 104, Value = 1, Name = "登陆", Code = "loing", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10400002, SysDictTypeId = 104, Value = 2, Name = "登出", Code = "logout", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10400003, SysDictTypeId = 104, Value = 3, Name = "注册", Code = "register", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10400004, SysDictTypeId = 104, Value = 4, Name = "修改密码", Code = "change_password", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10400005, SysDictTypeId = 104, Value = 5, Name = "授权登录", Code = "authorized_login", Sort = 100, Status = CommonStatus.ENABLE },
- // 数据权限范围
- new SysDictData { Id = 10500000, SysDictTypeId = 105, Value = 0, Name = "无", Code = "none", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10500001, SysDictTypeId = 105, Value = 1, Name = "仅本人", Code = "self", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10500002, SysDictTypeId = 105, Value = 2, Name = "本部门", Code = "dept", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10500003, SysDictTypeId = 105, Value = 3, Name = "全部", Code = "all", Sort = 100, Status = CommonStatus.ENABLE },
- // 用户类型
- new SysDictData { Id = 10600001, SysDictTypeId = 106, Value = 1, Name = "系统", Code = "system", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10600002, SysDictTypeId = 106, Value = 2, Name = "教师", Code = "teacher", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10600003, SysDictTypeId = 106, Value = 3, Name = "学生", Code = "student", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10600004, SysDictTypeId = 106, Value = 4, Name = "家长", Code = "patriarch", Sort = 40, Status = CommonStatus.ENABLE },
- // 学生状态
- new SysDictData { Id = 10700001, SysDictTypeId = 107, Value = 1, Name = "正常", Code = "normal", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10700002, SysDictTypeId = 107, Value = 2, Name = "休学", Code = "suspension", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10700003, SysDictTypeId = 107, Value = 3, Name = "转学", Code = "transfer_school", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10700004, SysDictTypeId = 107, Value = 4, Name = "转班", Code = "transfer_class", Sort = 40, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10700005, SysDictTypeId = 107, Value = 5, Name = "退学", Code = "drop_out", Sort = 50, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10700006, SysDictTypeId = 107, Value = 6, Name = "降级", Code = "grade_down", Sort = 60, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10700007, SysDictTypeId = 107, Value = 7, Name = "升级", Code = "grade_up", Sort = 70, Status = CommonStatus.ENABLE },
- // 数据导入模式
- new SysDictData { Id = 10800001, SysDictTypeId = 108, Value = 1, Name = "清空追加", Code = "clear_append", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10800002, SysDictTypeId = 108, Value = 2, Name = "更新追加", Code = "update_append", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 10800003, SysDictTypeId = 108, Value = 3, Name = "仅追加", Code = "only_append", Sort = 30, Status = CommonStatus.ENABLE },
- // 审核状态
- new SysDictData { Id = 10900001, SysDictTypeId = 109, Value = 1, Name = "未提交", Code = "unsubmit", Sort = 10, Status = CommonStatus.ENABLE, AntStatus = "warning", AntColor = "#faad14" },
- new SysDictData { Id = 10900002, SysDictTypeId = 109, Value = 2, Name = "待审核", Code = "audit", Sort = 20, Status = CommonStatus.ENABLE, AntStatus = "processing", AntColor = "#1677ff" },
- new SysDictData { Id = 10900003, SysDictTypeId = 109, Value = 3, Name = "已通过", Code = "approved", Sort = 50, Status = CommonStatus.ENABLE, AntStatus = "success", AntColor = "#52c41a" },
- new SysDictData { Id = 10900004, SysDictTypeId = 109, Value = 4, Name = "已驳回", Code = "rejected", Sort = 40, Status = CommonStatus.ENABLE, AntStatus = "error", AntColor = "#ff4d4f" },
- new SysDictData { Id = 10900005, SysDictTypeId = 109, Value = 5, Name = "已反审", Code = "approve_cancelled", Sort = 30, Status = CommonStatus.ENABLE, AntStatus = "warning", AntColor = "#faad14" },
- // 审核操作
- new SysDictData { Id = 11000001, SysDictTypeId = 110, Value = 1, Name = "提交", Code = "submit", Sort = 10, Status = CommonStatus.ENABLE, AntStatus = "processing", AntColor = "#1677ff" },
- new SysDictData { Id = 11000002, SysDictTypeId = 110, Value = 2, Name = "通过", Code = "approve", Sort = 20, Status = CommonStatus.ENABLE, AntStatus = "success", AntColor = "#52c41a" },
- new SysDictData { Id = 11000003, SysDictTypeId = 110, Value = 3, Name = "驳回", Code = "reject", Sort = 30, Status = CommonStatus.ENABLE, AntStatus = "error", AntColor = "#ff4d4f" },
- new SysDictData { Id = 11000004, SysDictTypeId = 110, Value = 4, Name = "反审", Code = "reaudit", Sort = 40, Status = CommonStatus.ENABLE, AntStatus = "warning", AntColor = "#faad14" },
- // 抽样状态
- new SysDictData { Id = 11100001, SysDictTypeId = 111, Value = 1, Name = "未生成", Code = "initial", Sort = 10, Status = CommonStatus.ENABLE, AntStatus = "default", AntColor = "#00000025" },
- new SysDictData { Id = 11100002, SysDictTypeId = 111, Value = 2, Name = "生成中", Code = "running", Sort = 20, Status = CommonStatus.ENABLE, AntStatus = "processing", AntColor = "#1677ff" },
- new SysDictData { Id = 11100003, SysDictTypeId = 111, Value = 3, Name = "已失败", Code = "failed", Sort = 30, Status = CommonStatus.ENABLE, AntStatus = "error", AntColor = "#ff4d4f" },
- new SysDictData { Id = 11100004, SysDictTypeId = 111, Value = 4, Name = "已生成", Code = "successful", Sort = 40, Status = CommonStatus.ENABLE, AntStatus = "success", AntColor = "#52c41a" },
- // 学段
- new SysDictData { Id = 20100000, SysDictTypeId = 201, Value = 0, Name = "无", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20100001, SysDictTypeId = 201, Value = 1, Name = "学前", Code = "pre_school_stage", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20100002, SysDictTypeId = 201, Value = 2, Name = "小学", Code = "primary_school_stage", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20100003, SysDictTypeId = 201, Value = 3, Name = "初中", Code = "junior_high_school_stage", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20100004, SysDictTypeId = 201, Value = 4, Name = "高中", Code = "senior_high_school_stage", Sort = 40, Status = CommonStatus.ENABLE },
- // 学期类型
- new SysDictData { Id = 20200001, SysDictTypeId = 202, Value = 1, Name = "上学期", NickName = "秋季", Code = "first_semester", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20200002, SysDictTypeId = 202, Value = 2, Name = "下学期", NickName = "春秋", Code = "second_semester", Sort = 20, Status = CommonStatus.ENABLE },
- // 监测期间类型
- new SysDictData { Id = 20300000, SysDictTypeId = 203, Value = 0, Name = "无", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20300001, SysDictTypeId = 203, Value = 1, Name = "期末", Code = "final_exam", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20300002, SysDictTypeId = 203, Value = 2, Name = "期中", Code = "mid_term_exam", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20300003, SysDictTypeId = 203, Value = 3, Name = "平时", Code = "regular_exam", Sort = 30, Status = CommonStatus.ENABLE },
- // 监测状态
- new SysDictData { Id = 20400001, SysDictTypeId = 204, Value = 1, Name = "未开始", Code = "ready", Sort = 10, Status = CommonStatus.ENABLE, AntStatus = "error", AntColor = "#ff4d4f" },
- new SysDictData { Id = 20400002, SysDictTypeId = 204, Value = 2, Name = "进行中", Code = "active", Sort = 20, Status = CommonStatus.ENABLE, AntStatus = "processing", AntColor = "#1677ff" },
- new SysDictData { Id = 20400003, SysDictTypeId = 204, Value = 3, Name = "已结束", Code = "stopped", Sort = 30, Status = CommonStatus.ENABLE, AntStatus = "default", AntColor = "#00000025" },
- new SysDictData { Id = 20400004, SysDictTypeId = 204, Value = 4, Name = "已取消", Code = "cancelled", Sort = 40, Status = CommonStatus.ENABLE, AntStatus = "default", AntColor = "#00000025" },
- // 发布状态
- new SysDictData { Id = 20500001, SysDictTypeId = 205, Value = 1, Name = "未发布", Code = "unpublish", Sort = 10, Status = CommonStatus.ENABLE, AntStatus = "error", AntColor = "#ff4d4f" },
- new SysDictData { Id = 20500002, SysDictTypeId = 205, Value = 2, Name = "已发布", Code = "published", Sort = 20, Status = CommonStatus.ENABLE, AntStatus = "success", AntColor = "#52c41a" },
- new SysDictData { Id = 20500003, SysDictTypeId = 205, Value = 3, Name = "已取消", Code = "cancelled", Sort = 30, Status = CommonStatus.ENABLE, AntStatus = "default", AntColor = "#00000025" },
- // 数据上报状态
- new SysDictData { Id = 20600001, SysDictTypeId = 206, Value = 1, Name = "未上报", Code = "unreport", Sort = 10, Status = CommonStatus.ENABLE, AntStatus = "warning", AntColor = "#faad14" },
- new SysDictData { Id = 20600002, SysDictTypeId = 206, Value = 2, Name = "已退回", Code = "rejected", Sort = 20, Status = CommonStatus.ENABLE, AntStatus = "error", AntColor = "#ff4d4f" },
- new SysDictData { Id = 20600003, SysDictTypeId = 206, Value = 3, Name = "已上报", Code = "reported", Sort = 30, Status = CommonStatus.ENABLE, AntStatus = "success", AntColor = "#52c41a" },
- // 监测抽样类型
- new SysDictData { Id = 20700001, SysDictTypeId = 207, Value = 1, Name = "区级监测", NickName = "区测", Code = "district", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20700002, SysDictTypeId = 207, Value = 2, Name = "校级监测", NickName = "校测", Code = "school", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20700003, SysDictTypeId = 207, Value = 3, Name = "校内考试", NickName = "校考", Code = "school_exam", Sort = 30, Status = CommonStatus.ENABLE },
- // 监测类型
- new SysDictData { Id = 20800000, SysDictTypeId = 208, Value = 0, Name = "无", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20800001, SysDictTypeId = 208, Value = 1, Name = "学业质量监测", Code = "academic_quality", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20800002, SysDictTypeId = 208, Value = 2, Name = "教育质量监测", Code = "educational_quality", Sort = 20, Status = CommonStatus.ENABLE },
- // 数据上报类型
- new SysDictData { Id = 20900001, SysDictTypeId = 209, Value = 1, Name = "学生信息上报", Code = "student", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20900002, SysDictTypeId = 209, Value = 2, Name = "特殊学生信息上报", Code = "sp_student", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20900003, SysDictTypeId = 209, Value = 3, Name = "教师信息上报", Code = "teacher", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20900004, SysDictTypeId = 209, Value = 4, Name = "教师任教科目上报", Code = "teacher_course", Sort = 40, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20900005, SysDictTypeId = 209, Value = 5, Name = "缺测替补学生上报", Code = "absent_replace", Sort = 50, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 20900006, SysDictTypeId = 209, Value = 6, Name = "校考成绩上报", Code = "school_exam_score", Sort = 60, Status = CommonStatus.ENABLE },
- // 数据发布类型
- new SysDictData { Id = 21000001, SysDictTypeId = 210, Value = 1, Name = "通知公告", Code = "notice", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000002, SysDictTypeId = 210, Value = 2, Name = "抽样名单", Code = "student_sample_list", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000003, SysDictTypeId = 210, Value = 3, Name = "问卷名单", Code = "questionnaire_list", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000004, SysDictTypeId = 210, Value = 4, Name = "监测成绩", Code = "exam_score", Sort = 40, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000005, SysDictTypeId = 210, Value = 5, Name = "分析报表", Code = "analysis_report", Sort = 50, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000006, SysDictTypeId = 210, Value = 6, Name = "监测报告", Code = "exam_report", Sort = 60, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000007, SysDictTypeId = 210, Value = 7, Name = "问卷进度", Code = "questionnaire_progress", Sort = 70, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000008, SysDictTypeId = 210, Value = 8, Name = "抽样数量", Code = "student_sample_count_list", Sort = 19, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21000099, SysDictTypeId = 210, Value = 99, Name = "其他文件", Code = "other", Sort = 990, Status = CommonStatus.ENABLE },
- // 高考划线等级
- new SysDictData { Id = 21100001, SysDictTypeId = 211, Value = 1, Name = "特控", NickName = "重本", Code = "level_1", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21100002, SysDictTypeId = 211, Value = 2, Name = "本科", NickName = "本科", Code = "level_2", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21100003, SysDictTypeId = 211, Value = 3, Name = "高职", NickName = "高职", Code = "level_3", Sort = 30, Status = CommonStatus.ENABLE },
- // 成绩分数段类型
- new SysDictData { Id = 21200000, SysDictTypeId = 212, Value = 0, Name = "无", NickName = "无", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200001, SysDictTypeId = 212, Value = 1, Name = "高中总分750,已选科,57段,10分1段", Code = "ncee_750", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200002, SysDictTypeId = 212, Value = 2, Name = "高中单科150,31段,5分1段", Code = "ncee_150", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200003, SysDictTypeId = 212, Value = 3, Name = "高中单科100,21段,5分1段", Code = "ncee_100", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200004, SysDictTypeId = 212, Value = 4, Name = "高中总分1050,未选科,68段,10分1段", Code = "ncee_1050", Sort = 40, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200005, SysDictTypeId = 212, Value = 5, Name = "初中总分750,28段,初一初三", Code = "exam_750", Sort = 50, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200006, SysDictTypeId = 212, Value = 6, Name = "初中总分850,28段,初三", Code = "exam_850", Sort = 60, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200007, SysDictTypeId = 212, Value = 7, Name = "初中单科150,14段,初中语文", Code = "exam_150_1", Sort = 70, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200008, SysDictTypeId = 212, Value = 8, Name = "初中单科150,16段,初中数学、英语", Code = "exam_150_2", Sort = 80, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200009, SysDictTypeId = 212, Value = 9, Name = "单科100,13段", Code = "exam_100", Sort = 90, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200010, SysDictTypeId = 212, Value = 10, Name = "初中单科50,13段", Code = "exam_50", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21200011, SysDictTypeId = 212, Value = 11, Name = "小学总分300,20段", Code = "exam_300", Sort = 110, Status = CommonStatus.ENABLE },
- // 题型大类
- new SysDictData { Id = 21300000, SysDictTypeId = 213, Value = 0, Name = "未知", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21300001, SysDictTypeId = 213, Value = 1, Name = "客观题", Code = "objective", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21300002, SysDictTypeId = 213, Value = 2, Name = "主观题", Code = "subjective", Sort = 20, Status = CommonStatus.ENABLE },
- // 认知能力
- new SysDictData { Id = 21400000, SysDictTypeId = 214, Value = 0, Name = "未知", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21400001, SysDictTypeId = 214, Value = 1, Name = "识记", Code = "recognition", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21400002, SysDictTypeId = 214, Value = 2, Name = "理解", Code = "comprehension", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21400003, SysDictTypeId = 214, Value = 3, Name = "应用", Code = "application", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21400004, SysDictTypeId = 214, Value = 4, Name = "分析", Code = "analysis", Sort = 40, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21400005, SysDictTypeId = 214, Value = 5, Name = "综合", Code = "synthesis", Sort = 50, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 21400006, SysDictTypeId = 214, Value = 6, Name = "评价", Code = "evaluation", Sort = 60, Status = CommonStatus.ENABLE },
- // 机构类型
- new SysDictData { Id = 30100001, SysDictTypeId = 301, Value = 1, Name = "中心", Code = "center", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30100002, SysDictTypeId = 301, Value = 2, Name = "学区", Code = "district", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30100003, SysDictTypeId = 301, Value = 3, Name = "学校", Code = "school", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30100004, SysDictTypeId = 301, Value = 4, Name = "校区", Code = "school_branch", Sort = 40, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30100005, SysDictTypeId = 301, Value = 5, Name = "联盟学校", Code = "alliance_school", Sort = 50, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30100006, SysDictTypeId = 301, Value = 6, Name = "联盟区县", Code = "alliance_district", Sort = 60, Status = CommonStatus.ENABLE },
- // 办学性质
- new SysDictData { Id = 30200000, SysDictTypeId = 302, Value = 0, Name = "无", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30200001, SysDictTypeId = 302, Value = 1, Name = "公办", Code = "public", Sort = 10, Status = CommonStatus.ENABLE, Remark = "国家机关、国家性的机构、组织,用国家对于教育的拨款、经费设计教育的机构,用的是国家的钱,登机的主体是按照事业法人进行登记的" },
- new SysDictData { Id = 30200002, SysDictTypeId = 302, Value = 2, Name = "公办性质", Code = "public_sub", Sort = 20, Status = CommonStatus.ENABLE, Remark = "主体用的不是国家的钱,可能是比较低级的乡村、村委会进行投资创办的,也有可能是一些集体的企业或者事业单位投资创建的,作为对于乡村、城市的建设等" },
- new SysDictData { Id = 30200003, SysDictTypeId = 302, Value = 3, Name = "民办", Code = "private", Sort = 30, Status = CommonStatus.ENABLE },
- // 城乡类别
- new SysDictData { Id = 30300000, SysDictTypeId = 303, Value = 0, Name = "无", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30300001, SysDictTypeId = 303, Value = 1, Name = "城市", Code = "urban", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30300002, SysDictTypeId = 303, Value = 2, Name = "农村", Code = "rural", Sort = 20, Status = CommonStatus.ENABLE },
- // 证件类型
- new SysDictData { Id = 30400000, SysDictTypeId = 304, Value = 0, Name = "无", Code = "none", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30400001, SysDictTypeId = 304, Value = 1, Name = "居民身份证", Code = "id_card", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30400006, SysDictTypeId = 304, Value = 6, Name = "香港特区护照", Code = "hk_passport", Sort = 60, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30400007, SysDictTypeId = 304, Value = 7, Name = "澳门特区护照", Code = "macao_passport", Sort = 70, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30400008, SysDictTypeId = 304, Value = 8, Name = "台湾居民来往大陆通行证", Code = "tw_travel_permits", Sort = 80, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30400009, SysDictTypeId = 304, Value = 9, Name = "境外永久居住证", Code = "overseas_permits", Sort = 90, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30400010, SysDictTypeId = 304, Value = 10, Name = "护照", Code = "passport", Sort = 100, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30400011, SysDictTypeId = 304, Value = 11, Name = "其他", Code = "other", Sort = 110, Status = CommonStatus.ENABLE },
- // 性别
- new SysDictData { Id = 30500000, SysDictTypeId = 305, Value = 0, Name = "未知", Code = "unknown", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30500001, SysDictTypeId = 305, Value = 1, Name = "男", Code = "male", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30500006, SysDictTypeId = 305, Value = 2, Name = "女", Code = "female", Sort = 20, Status = CommonStatus.ENABLE },
- // 职位
- new SysDictData { Id = 30600000, SysDictTypeId = 306, Value = 0, Name = "未知", Code = "unknown", Sort = 0, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600001, SysDictTypeId = 306, Value = 1, Name = "校长", Code = "principal", Sort = 10, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600002, SysDictTypeId = 306, Value = 2, Name = "副校长", Code = "vice_principal", Sort = 20, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600003, SysDictTypeId = 306, Value = 3, Name = "书记", Code = "secretary", Sort = 30, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600004, SysDictTypeId = 306, Value = 4, Name = "副书记", Code = "vice_secretary", Sort = 40, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600005, SysDictTypeId = 306, Value = 5, Name = "教务主任", Code = "dean_academic_affairs", Sort = 50, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600006, SysDictTypeId = 306, Value = 6, Name = "教务副主任", Code = "assistant_dean_academic_affairs", Sort = 60, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600007, SysDictTypeId = 306, Value = 7, Name = "教师", Code = "teacher", Sort = 70, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600008, SysDictTypeId = 306, Value = 8, Name = "行政", Code = "administer", Sort = 80, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600009, SysDictTypeId = 306, Value = 9, Name = "后勤", Code = "logistics", Sort = 90, Status = CommonStatus.ENABLE },
- new SysDictData { Id = 30600099, SysDictTypeId = 306, Value = 99, Name = "其他", Code = "other", Sort = 990, Status = CommonStatus.ENABLE },
- };
- }
- }
|