2024-07-19 01:23:04 +00:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using System.Collections.Generic;
|
2021-12-12 06:55:48 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using WalkingTec.Mvvm.Core;
|
|
|
|
|
|
|
|
|
|
namespace IoTGateway.Model
|
|
|
|
|
{
|
2024-07-19 01:23:04 +00:00
|
|
|
|
[Comment("驱动管理")]
|
2021-12-12 06:55:48 +00:00
|
|
|
|
public class Driver : BasePoco
|
|
|
|
|
{
|
2024-07-19 01:23:04 +00:00
|
|
|
|
[Comment("驱动名")]
|
2024-01-08 14:18:16 +00:00
|
|
|
|
[Display(Name = "DriverName")]
|
2021-12-12 06:55:48 +00:00
|
|
|
|
public string DriverName { get; set; }
|
2024-07-19 01:23:04 +00:00
|
|
|
|
|
|
|
|
|
[Comment("文件名")]
|
2023-12-23 09:34:58 +00:00
|
|
|
|
[Display(Name = "FileName")]
|
2021-12-12 06:55:48 +00:00
|
|
|
|
public string FileName { get; set; }
|
2024-07-19 01:23:04 +00:00
|
|
|
|
|
|
|
|
|
[Comment("程序集名")]
|
2023-12-23 09:34:58 +00:00
|
|
|
|
[Display(Name = "AssembleName")]
|
2021-12-12 06:55:48 +00:00
|
|
|
|
public string AssembleName { get; set; }
|
2024-07-19 01:23:04 +00:00
|
|
|
|
|
|
|
|
|
[Comment("剩余授权数")]
|
2024-01-08 14:18:16 +00:00
|
|
|
|
[Display(Name = "Remains")]
|
2021-12-12 06:55:48 +00:00
|
|
|
|
public int AuthorizesNum { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|