hutongqing
2024-12-10 8d341db9d2d5699d527c88c935f0c4ce255a57a4
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
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
 
namespace WIDESEA_Model.Models
{
    [SugarTable(nameof(Dt_ApprovalTask), "审批任务表")]
    public class Dt_ApprovalTask : BaseEntity
    {
        /// <summary>
        /// 审批任务编号,主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "审批任务编号,主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 审批流程编号,外键
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "审批流程编号,外键")]
        public int FlowId { get; set; }
 
        /// <summary>
        /// 审批节点编号,外键
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "审批节点编号,外键")]
        public int NodeId { get; set; }
 
        /// <summary>
        /// 申请人用户编号
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "申请人用户编号")]
        public int ApplicantUserId { get; set; }
 
        /// <summary>
        /// 申请人用户名称
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "申请人用户名称")]
        public string ApplicantUserName { get; set; }
 
        /// <summary>
        /// 任务状态(如待审批、已审批、已驳回等)
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "任务状态(如待审批、已审批、已驳回等)")]
        public int Status { get; set; }
 
        /// <summary>
        /// 审批意见内容
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "审批意见内容")]
        public string OpinionContent { get; set; }
 
        /// <summary>
        /// 审批人
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "审批人")]
        public string AuditUser { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "")]
        public int SourceKey { get; set; }
    }
}