XlInfo.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace XdCxRhDW.Entity
  9. {
  10. [Table("XlInfo")]
  11. public class XlInfo : BaseEntity
  12. {
  13. [Display(Name = "卫星编号",AutoGenerateField = false)]
  14. [Index]
  15. public int SatCode { get; set; }
  16. [Display(Name = "卫星名称",AutoGenerateField = false)]
  17. public string SatName { get; set; }
  18. [Display(Name = "卫星")]
  19. public string Sat => $"{SatName}({SatCode})";
  20. [Display(Name = "发布时间(UTC)")]
  21. [Index]
  22. public DateTime TimeUTC { get; set; }
  23. [Display(Name = "轨道经度")]
  24. [Index]
  25. public double? Lon { get; set; }
  26. [Display(Name = "双行根数1")]
  27. public string Line1 { get; set; }
  28. [Display(Name = "双行根数2")]
  29. public string Line2 { get; set; }
  30. [Display(AutoGenerateField = false)]
  31. public string TwoLine => $"{Line1};{Line2}";
  32. }
  33. }