修改模型,取消外键关联
This commit is contained in:
1 parent
45bc46a828
commit
d23544c9d8
27 files changed
+22
-48
No files matched your search
@@ -16,8 +16,6 @@ namespace HHWMS.Web.Models
|
||||
[Display(Name = "Ship.ShipmentCode")]
|
||||
public int HeaderId { get; set; }
|
||||
|
||||
public ShipmentHeader ShipmentHeader { get; set; }
|
||||
|
||||
[Display(Name = "Task.ZoneCode", Description = "库区")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ZoneCode { get; set; }
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace HHWMS.Web.Models
|
||||
public class ShipmentDetailHistory : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "Ship.ShipmentCode")]
|
||||
|
||||
@@ -49,7 +49,5 @@ namespace HHWMS.Web.Models
|
||||
|
||||
[Display(Name = "_Admin.Remark", Description = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
public ICollection<ShipmentDetail> ShipmentDetails { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user