using DW5S.Entity; using System.ComponentModel.DataAnnotations; namespace DW5S.ViewModel { public class AdChannelViewModel : BaseViewModel { public AdChannelViewModel() : base() { this.Enable = true; } [Display(Name = "站点编号", AutoGenerateField = false)] public int AdCardID { get; set; } /// /// 通道号 /// [Display(Name = "通道号")] public int ChNum { get; set; } /// /// 中心频点(MHz) /// [Display(Name = "中心频点(MHz)")] public double CenterFreq { get; set; } [Display(Name = "对应卫星")] public int SatInfoID { get; set; } [Display(Name = "对应天线")] public int TxInfoID { get; set; } [Display(Name = "通道启用状态")] public bool Enable { get; set; } } }