修改模型,取消外键关联
This commit is contained in:
1 parent
45bc46a828
commit
d23544c9d8
27 files changed
+22
-48
No files matched your search
@@ -1,10 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Security.Policy;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Internal;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Index(nameof(TaskNo), IsUnique = true)]
|
||||
[Table("TaskHeaderHistory")]
|
||||
public class TaskHeaderHistory : BasePoco
|
||||
{
|
||||
@@ -50,6 +55,6 @@ namespace HHWMS.Web.Models
|
||||
|
||||
[Display(Name = "Task.ErrorMsg", Description = "错误信息")]
|
||||
public string ErrorMsg { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user