27 lines
751 B
C#
Raw Normal View History

2024-10-22 14:59:19 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JiShe.CollectBus.EntityFrameworkCore.Entities;
namespace JiShe.CollectBus.EntityFrameworkCore
{
public class Device : EntityBase<Guid>, ICreationAudited<long?>, IModificationAudited<long?>
{
public string DeviceNo { get; set; }
public DeviceStatusEnum DeviceStatus { get; set; }
public long? CreatorId { get; set; }
public DateTime CreationTime { get; set; }
public long? LastModifierId { get; set; }
public DateTime? LastModificationTime { get; set; }
}
public enum DeviceStatusEnum
{
Unknown = 0,
Online = 1,
Offline = 2,
}
}