Blame view

HHECS.DAQShared/Models/ClientStatus.cs 1.01 KB
唐召明 authored
1
using FreeSql.DataAnnotations;
唐召明 authored
2
using HHECS.DataContract;
唐召明 authored
3
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
        /// <summary>
29
30
31
32
33
34
35
36
37
38
        /// 项目编号
        /// </summary>
        public string ProjectCode { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string FactoryCode { get; set; }

        /// <summary>
唐召明 authored
39
40
        /// 备注
        /// </summary>
唐召明 authored
41
42
43
        public string Remark { get; set; }
    }
}