21 lines
11 KiB
C#
21 lines
11 KiB
C#
using System.Collections.Generic;
|
||
using WaterCloud.Code;
|
||
using WaterCloud.DataBase;
|
||
|
||
namespace WaterCloud.Domain.SystemManage
|
||
{
|
||
/// <summary>
|
||
/// 创 建:超级管理员
|
||
/// 日 期:2024-07-19 19:42
|
||
/// 描 述:字典种子
|
||
/// </summary>
|
||
public class ItemsSeedData : ISqlSugarEntitySeedData<ItemsEntity>
|
||
{
|
||
[IgnoreSeedDataUpdate]
|
||
public IEnumerable<ItemsEntity> SeedData()
|
||
{
|
||
var data = "[\r\n {\r\n \"F_Id\": \"00F76465-DBBA-484A-B75C-E81DEE9313E6\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"Education\",\r\n \"F_FullName\": \"学历\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"8\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"08daa75d-8081-4460-8cec-88e1bf314c5f\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"PrintType\",\r\n \"F_FullName\": \"打印方式\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"19\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": \"\",\r\n \"F_CreatorTime\": \"2022-10-06 13:42:06\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"08daa800-7d0b-41e5-86f5-ab10853267d7\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"RuleReset\",\r\n \"F_FullName\": \"规则重设类型\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"20\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": \"\",\r\n \"F_CreatorTime\": \"2022-10-07 09:08:48\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"0DF5B725-5FB8-487F-B0E4-BC563A77EB04\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"DbType\",\r\n \"F_FullName\": \"数据库类型\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"4\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"15023A4E-4856-44EB-BE71-36A106E2AA59\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"103\",\r\n \"F_FullName\": \"民族\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"14\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"2748F35F-4EE2-417C-A907-3453146AAF67\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"Certificate\",\r\n \"F_FullName\": \"证件名称\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"7\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"39fc87c0-7ff4-eeae-a897-b7418aeb4851\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"JobType\",\r\n \"F_FullName\": \"任务类型\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"18\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": \"\",\r\n \"F_CreatorTime\": \"2021-05-16 22:28:02\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_LastModifyTime\": \"2021-05-16 22:28:14\",\r\n \"F_LastModifyUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"64c10822-0c85-4516-9b59-879b818547ae\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"MessageType\",\r\n \"F_FullName\": \"信息类型\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"16\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": \"\",\r\n \"F_CreatorTime\": \"2020-07-29 16:51:19\",\r\n \"F_CreatorUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_ParentId\": \"0\",\r\n \"F_EnCode\": \"Sys_Items\",\r\n \"F_FullName\": \"通用字典\",\r\n \"F_IsTree\": 1,\r\n \"F_Layers\": \"1\",\r\n \"F_SortCode\": \"1\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": \"2020-04-20 17:17:39\",\r\n \"F_LastModifyUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"8CEB2F71-026C-4FA6-9A61-378127AE7320\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"102\",\r\n \"F_FullName\": \"生育\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"13\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"954AB9A1-9928-4C6D-820A-FC1CDC85CDE0\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"AuditState\",\r\n \"F_FullName\": \"审核状态\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"6\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"9a7079bd-0660-4549-9c2d-db5e8616619f\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"DbLogType\",\r\n \"F_FullName\": \"系统日志\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"17\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": \"\",\r\n \"F_CreatorTime\": \"2016-07-19 17:09:45\",\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": \"2022-10-06 13:41:15\",\r\n \"F_LastModifyUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"9EB4602B-BF9A-4710-9D80-C73CE89BEC5D\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"OrganizeCategory\",\r\n \"F_FullName\": \"机构分类\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"2\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": \"2020-04-28 09:07:08\",\r\n \"F_LastModifyUserId\": \"9f2ec079-7d0f-4fe2-90ab-8b09a8302aba\",\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"BDD797C3-2323-4868-9A63-C8CC3437AEAA\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"104\",\r\n \"F_FullName\": \"性别\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"15\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"D94E4DC1-C2FD-4D19-9D5D-3886D39900CE\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"RoleType\",\r\n \"F_FullName\": \"角色类型\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"3\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n },\r\n {\r\n \"F_Id\": \"FA7537E2-1C64-4431-84BF-66158DD63269\",\r\n \"F_ParentId\": \"77070117-3F1A-41BA-BF81-B8B85BF10D5E\",\r\n \"F_EnCode\": \"101\",\r\n \"F_FullName\": \"婚姻\",\r\n \"F_IsTree\": 0,\r\n \"F_Layers\": \"2\",\r\n \"F_SortCode\": \"12\",\r\n \"F_DeleteMark\": 0,\r\n \"F_EnabledMark\": 1,\r\n \"F_Description\": null,\r\n \"F_CreatorTime\": null,\r\n \"F_CreatorUserId\": null,\r\n \"F_LastModifyTime\": null,\r\n \"F_LastModifyUserId\": null,\r\n \"F_DeleteTime\": null,\r\n \"F_DeleteUserId\": null\r\n }\r\n]";
|
||
return data.ToObject<List<ItemsEntity>>();
|
||
}
|
||
}
|
||
} |