This commit is contained in:
ky_sunl
2021-04-01 06:47:58 +00:00
parent 687b79910e
commit cb7e07922f
41 changed files with 881 additions and 88 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Appliaction
{
public string ID { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public int AuthorityType { get; set; }
}
}

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Dictionary
{
public string ID { get; set; }
public string ParentID { get; set; }
public string Name { get; set; }
public string Code { get; set; }
public string Value { get; set; }
public string Values { get; set; }
public string Desc { get; set; }
public bool IsSystem { get; set; }
public int Sort { get; set; }
public DateTime CreateTime { get; set; }
public string CreateUserID { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Function
{
public string ID { get; set; }
public string MenuID { get; set; }
public string AppliactionID { get; set; }
public string Name { get; set; }
public string Text { get; set; }
public string Icon { get; set; }
public string Theme { get; set; }
public DateTime CreateTime { get; set; }
public string CreateUserID { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Menu
{
public string ID { get; set; }
public string ParentID { get; set; }
public int Type { get; set; }
public string Name { get; set; }
public string Component { get; set; }
public string Icon { get; set; }
public string Color { get; set; }
public bool IsSystem { get; set; }
public bool Enabled { get; set; }
public int Sort { get; set; }
public DateTime CreateTime { get; set; }
public string CreateUserID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Menu_Appliaction
{
public string ID { get; set; }
public string MenuID { get; set; }
public int RelationType { get; set; }
public string RelationID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Role
{
public string ID { get; set; }
public string Name { get; set; }
public string Desc { get; set; }
public DateTime CreateTime { get; set; }
public string CreateUserID { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Role_Menu
{
public string ID { get; set; }
public string MenuID { get; set; }
public string ParentMenuID { get; set; }
public string RoleID { get; set; }
public DateTime CreateTime { get; set; }
public string CreateUserID { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_Role_Menu_Appliaction
{
public string ID { get; set; }
public string RoleMenuID { get; set; }
public string MenuAppliactionID { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_System
{
public string ID { get; set; }
public int Status { get; set; }
public DateTime CreateTime { get; set; }
public string AdminID { get; set; }
}
}

View File

@@ -6,9 +6,21 @@ using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_User
{
public string ID { get; set; }
public string Account { get; set; }
public string Password { get; set; }
public string Name { get; set; }
public int Type { get; set; }
public int Sex { get; set; }
public string Avatar { get; set; }
public string Code { get; set; }
public string Phone { get; set; }
public string Desc { get; set; }
public bool Enabled { get; set; }
public DateTime CreateTime { get; set; }
public string CreateUserID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Core.Model
{
[Serializable]
public class EC_User_Role
{
public string ID { get; set; }
public string UserID { get; set; }
public string RoleID { get; set; }
public DateTime CreateTime { get; set; }
public string CreateUserID { get; set; }
}
}

View File

@@ -54,7 +54,17 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="EC_Appliaction.cs" />
<Compile Include="EC_Dictionary.cs" />
<Compile Include="EC_Function.cs" />
<Compile Include="EC_Menu.cs" />
<Compile Include="EC_Menu_Appliaction.cs" />
<Compile Include="EC_Role.cs" />
<Compile Include="EC_Role_Menu.cs" />
<Compile Include="EC_Role_Menu_Appliaction.cs" />
<Compile Include="EC_System.cs" />
<Compile Include="EC_User.cs" />
<Compile Include="EC_User_Role.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>