change-entity: WarningNotifyTaskEntity
- rename: WarningRuleId => WarningRuleItemId
This commit is contained in:
parent
3a23817eb7
commit
e06aa10898
@ -12,8 +12,8 @@ public sealed class WarningNotifyTaskEntity : IFullAuditedBasicEntitys, IAggrega
|
||||
[SugarColumn(ColumnName = "WarningId", ColumnDescription = "预警主体Id")]
|
||||
public int WarningId { get; set; } // 预警Id
|
||||
|
||||
[SugarColumn(ColumnName = "WarningRuleId", ColumnDescription = "预警规则Id")]
|
||||
public int WarningRuleId { get; set; } // 预警规则项目Id
|
||||
[SugarColumn(ColumnName = "WarningRuleItemId", ColumnDescription = "预警规则项目Id")]
|
||||
public int WarningRuleItemId { get; set; } // 预警规则项目Id
|
||||
|
||||
[SugarColumn(ColumnName = "WarningDetailsId", ColumnDescription = "预警明细Id")]
|
||||
public string WarningDetailsId { get; set; } //预警明细id
|
||||
@ -30,7 +30,6 @@ public sealed class WarningNotifyTaskEntity : IFullAuditedBasicEntitys, IAggrega
|
||||
[SugarColumn(ColumnName = "NotifyUsers", ColumnDescription = "通知人Json eg: [{\"UserId\":1,\"UserName\":\"张三\"},{\"UserId\":2,\"UserName\":\"李四\"}]")]
|
||||
public string NotifyUsers { get; set; } //通知人Json eg: [{"UserId":1,"UserName":"张三"},{"UserId":2,"UserName":"李四"}]
|
||||
|
||||
|
||||
[SugarColumn(ColumnName = "Tags", ColumnDescription = "标签集合(,分割)")]
|
||||
public string? Tags { get; set; } // 标签(加急?)
|
||||
|
||||
@ -41,11 +40,11 @@ public sealed class WarningNotifyTaskEntity : IFullAuditedBasicEntitys, IAggrega
|
||||
{
|
||||
}
|
||||
|
||||
public WarningNotifyTaskEntity(int orderId, int warningId, int warningRuleId, string warningDetailsId, int warningType, string notifyUsers, string? tags = null)
|
||||
public WarningNotifyTaskEntity(int orderId, int warningId, int warningRuleItemId, string warningDetailsId, int warningType, string notifyUsers, string? tags = null)
|
||||
{
|
||||
OrderId = orderId;
|
||||
WarningId = warningId;
|
||||
WarningRuleId = warningRuleId;
|
||||
WarningRuleItemId = warningRuleItemId;
|
||||
WarningDetailsId = warningDetailsId;
|
||||
WarningType = warningType;
|
||||
NotifyUsers = notifyUsers;
|
||||
@ -53,4 +52,4 @@ public sealed class WarningNotifyTaskEntity : IFullAuditedBasicEntitys, IAggrega
|
||||
CreateTime = DateTime.Now;
|
||||
IsClosed = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user