CdbTxViewModel.cs 754 B

12345678910111213141516171819202122232425262728293031
  1. using DW5S.Entity;
  2. using DW5S.ViewModel;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel.DataAnnotations.Schema;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace DW5S.ViewModel
  11. {
  12. public class CdbTxViewModel : BaseViewModel<int>
  13. {
  14. [Display(Name = "超短波站名称")]
  15. public string Name { get; set; }
  16. [Display(Name = "经度°")]
  17. public double Lon { get; set; }
  18. [Display(Name = "纬度°")]
  19. public double Lat { get; set; }
  20. [Display(Name = "备注")]
  21. public string Remark { get; set; }
  22. [Display(Name = "状态")]
  23. public bool Enable { get; set; }
  24. }
  25. }