| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | /// <summary> |
| | | /// 经度 |
| | | /// </summary> |
| | | [Column(TypeName = "decimal(18,6)")] |
| | | public decimal? Longitude { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public EnumTaskRecommendStatus RecommendStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 用户 |
| | | /// </summary> |
| | | public List<TaskInfoUser> Users { get; set; } |
| | | |
| | | public void Configure(EntityTypeBuilder<TaskInfo> entityBuilder, DbContext dbContext, Type dbContextLocator) |
| | | { |
| | | entityBuilder |