模型重构

This commit is contained in:
橙子
2021-10-27 17:03:28 +08:00
parent 5d5452b531
commit 65b2d30b20
5 changed files with 3 additions and 21 deletions

View File

@@ -1,15 +0,0 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Yi.Framework.ApiMicroservice.Controllers
{
[Route("api/[controller]/[action")]
[ApiController]
public class VisitController : ControllerBase
{
}
}

View File

@@ -14,8 +14,7 @@ namespace Yi.Framework.Model.Models
public ICollection<menu> children { get; set; }
public IList<menu> children { get; set; }
public mould mould { get; set; }
public ICollection<role> roles { get; set; }
}
}

View File

@@ -10,6 +10,5 @@ namespace Yi.Framework.Model.Models
{
public string mould_name { get; set; }
public string url { get; set; }
//public menu menu { get; set; }
}
}

View File

@@ -12,7 +12,6 @@ namespace Yi.Framework.Model.Models
public string introduce { get; set; }
public ICollection<menu> menus { get; set; }
public ICollection<user> users { get; set; }
public IList<menu> menus { get; set; }
}
}

View File

@@ -21,7 +21,7 @@ namespace Yi.Framework.Model.Models
public int? phone { get; set; }
public ICollection<role> roles { get; set; }
public IList<role> roles { get; set; }
}
}