using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using SqlSugar;
|
using WIDESEAWCS_Core.DB.Models;
|
|
namespace WIDESEAWCS_Model.Models
|
{
|
[SugarTable("Dt_Maintenance", "检修权限表")] //('数据库表名','数据库表备注')
|
public class Dt_Maintenance : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
public int ID { get; set; }
|
|
/// <summary>
|
/// 用户账号
|
/// </summary>
|
[SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "用户权限")]
|
public string UserAccount { get; set; }
|
|
/// <summary>
|
/// 检修日期
|
/// </summary>
|
[SugarColumn(IsNullable = true, ColumnDescription = "检修日期")]
|
public DateTime? MaintenanceDate { get; set; }
|
|
/// <summary>
|
/// 是否可以检修
|
/// </summary>
|
[SugarColumn( IsNullable = true, ColumnDescription = "是否可以检修")]
|
public string IsPossible { get; set; }
|
|
/// <summary>
|
/// 是否是组长 1是组长,0是组员
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "是否是组长")]
|
public int IsLeader { get; set; }
|
|
/// <summary>
|
/// 用户权限
|
/// </summary>
|
[SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "用户权限")]
|
public int Roleid { get; set; }
|
|
|
|
/// <summary>
|
/// ip地址
|
/// </summary>
|
[SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "ip地址")]
|
public string IPAddress { get; set; }
|
|
|
/// <summary>
|
/// 检修状态
|
/// </summary>
|
[SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "检修状态")]
|
public int MaintenanceStatus{ get; set; }
|
|
/// <summary>
|
/// 检修开始时间
|
/// </summary>
|
[SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "检修开始时间")]
|
public DateTime? MaintenancStartTime { get; set; }
|
|
// <summary>
|
/// 检修结束时间
|
/// </summary>
|
[SugarColumn(Length = 50, IsNullable = true, ColumnDescription = "检修结束时间")]
|
public DateTime? MaintenancEendTime { get; set; }
|
|
|
|
}
|
}
|