CollectDrug去掉Applyid的IsPrimaryKey=true

This commit is contained in:
maqiao 2024-07-17 10:09:31 +08:00
parent 0d2d10deab
commit f9fd4f4dd9
2 changed files with 1 additions and 5 deletions

View File

@ -24,7 +24,7 @@ namespace DM_Weight.Models
/// <summary> /// <summary>
/// 主键 /// 主键
/// </summary> /// </summary>
[SugarColumn(ColumnName = "Applyid",IsPrimaryKey =true)] [SugarColumn(ColumnName = "Applyid")]
public int Applyid { get; set; } public int Applyid { get; set; }
/// <summary> /// <summary>
/// 药品请领单号 /// 药品请领单号

View File

@ -126,9 +126,5 @@ namespace DM_Weight.Models
[Navigate(NavigateType.OneToOne, nameof(DrugId))] [Navigate(NavigateType.OneToOne, nameof(DrugId))]
public DrugInfo DrugInfo { get; set; } public DrugInfo DrugInfo { get; set; }
//private List<DrugPleaseManuNo> manuNoList = new List<DrugPleaseManuNo>();
//public List<DrugPleaseManuNo> ManuNoList { get=>manuNoList; set=>{ DrugManuNo}; }
} }
} }