1
yanjinhui
2025-06-12 10c497ad3b1802e1c8feed8df0a290a407ec72bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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; }
 
 
 
    }
}