ClientStatus.cs 1.01 KB
using FreeSql.DataAnnotations;
using HHECS.DataContract;

namespace HHECS.DAQShared.Models
{
    /// <summary>
    /// 客户端状态
    /// </summary>
    [Table(Name = "daq_client_status")]
    [Index($"uk_{nameof(ClientKeys)}", $"{nameof(ClientKeys)}", true)]
    public class ClientStatus: BaseEntity<int>
    {
        /// <summary>
        /// 客户端Id
        /// </summary>
        public Guid ClientKeys { get; set; }

        /// <summary>
        /// 客户端名称
        /// </summary>
        public string ClientName { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime LastSeenDate { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectCode { get; set; }

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

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}