27 lines
751 B
C#
27 lines
751 B
C#
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,
|
|
}
|
|
}
|