using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace RB_MES_APICore.Models { /// /// 使用定时器的服务列表 /// public class ApiHostService { /// /// 主键 /// [Key] [DisplayName("内码")] public int FID { get; set; } /// /// 控制器内的方法名 /// [DisplayName("执行方法名")] [StringLength(80)] public string FActionName { get; set; } = string.Empty; /// /// 获取查询字段列表的关键字 /// [DisplayName("执行类型")] [StringLength(80)] public string FDocType { get; set; } = string.Empty; /// /// 间隔的时间(分钟) /// [DisplayName("执行间隔期")] [StringLength(80)] public int FTimer { get; set; } } }