mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 01:44:41 +08:00
Update unit
This commit is contained in:
@@ -109,7 +109,7 @@ namespace OrmTest
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
[Navigat(NavigatType.OneToMany,nameof(Province111.CountryId))]
|
||||
[Navigate(NavigateType.OneToMany,nameof(Province111.CountryId))]
|
||||
public List<Province111> Provinces { get; set; }
|
||||
}
|
||||
[SugarTable("Province_111")]
|
||||
@@ -120,7 +120,7 @@ namespace OrmTest
|
||||
public string Name { get; set; }
|
||||
[SugarColumn(ColumnName = "coid")]
|
||||
public int CountryId { get; set; }
|
||||
[Navigat(NavigatType.OneToMany, nameof(City111.ProvinceId))]
|
||||
[Navigate(NavigateType.OneToMany, nameof(City111.ProvinceId))]
|
||||
public List<City111> citys { get; set; }
|
||||
}
|
||||
[SugarTable("City_111")]
|
||||
|
||||
Reference in New Issue
Block a user