Blame view

HHECS.DAQShared/Models/ClientStatus.cs 800 Bytes
唐召明 authored
1
using FreeSql.DataAnnotations;
唐召明 authored
2
using HHECS.DataContract;
唐召明 authored
3
唐召明 authored
4
namespace HHECS.DAQShared.Models
唐召明 authored
5
{
唐召明 authored
6
7
8
    /// <summary>
    /// 客户端状态
    /// </summary>
唐召明 authored
9
    [Table(Name = "daq_client_status")]
唐召明 authored
10
11
    [Index($"uk_{nameof(ClientKeys)}", $"{nameof(ClientKeys)}", true)]
    public class ClientStatus: BaseEntity<int>
唐召明 authored
12
13
14
15
16
17
    {
        /// <summary>
        /// 客户端Id
        /// </summary>
        public Guid ClientKeys { get; set; }
唐召明 authored
18
19
20
        /// <summary>
        /// 客户端名称
        /// </summary>
唐召明 authored
21
22
        public string ClientName { get; set; }
唐召明 authored
23
24
25
        /// <summary>
        /// 最后更新时间
        /// </summary>
唐召明 authored
26
27
        public DateTime LastSeenDate { get; set; }
唐召明 authored
28
29
30
        /// <summary>
        /// 备注
        /// </summary>
唐召明 authored
31
32
33
        public string Remark { get; set; }
    }
}