20 lines
477 B
C#
20 lines
477 B
C#
using DMS.Application.DTOs;
|
|
using DMS.Core.Models;
|
|
|
|
namespace DMS.Application.Models
|
|
{
|
|
public class VariableContext
|
|
{
|
|
public VariableDto Data { get; set; }
|
|
|
|
public object NewValue { get; set; }
|
|
public bool IsHandled { get; set; }
|
|
|
|
public VariableContext(VariableDto data, object newValue=null)
|
|
{
|
|
Data = data;
|
|
IsHandled = false; // 默认未处理
|
|
NewValue = newValue;
|
|
}
|
|
}
|
|
} |