1234567891011121314151617181920212223242526272829303132333435 |
- using MessagePack;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Shaker.Model
- {
- public class WarnModel : TableBase
- {
- [Key(1)]
- public DateTime DateTime;
- [Key(2)]
- public string Message = string.Empty;
- [Key(3)]
- public string CliendID = string.Empty;
- [Key(4)]
- public string ShakerID = string.Empty;
- [Key(5)]
- public string UserID = string.Empty;
- [Key(6)]
- public WarnType WarnType = WarnType.Warning;
- }
- public enum WarnType
- {
- [Description("警告")]
- Warning,
- [Description("错误")]
- Error,
- [Description("全部")]
- All=255,
- }
- }
|