| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- using Prism.Mvvm;
- using System;
- namespace SKMC.Api.Common.Exceptions
- {
- /// <summary>
- /// 异常处理配置模型
- /// 读取配置库中的表SKMC_COMMON_EXCEPTION并转换而成
- /// </summary>
- public class ExceptionConfig : BindableBase
- {
- public ExceptionConfig() { }
- protected long _id;
- public long Id
- {
- get { return _id; }
- set { _id = value; }
- }
- protected string _code;
- public string Code
- {
- get { return _code; }
- set { _code = value; }
- }
- protected int _type;
- public int Type
- {
- get { return _type; }
- set { _type = value; }
- }
- protected string _group;
- public string Group
- {
- get { return _group; }
- set { _group = value; }
- }
- protected string _name;
- public string Name
- {
- get { return _name; }
- set { _name = value; }
- }
- protected string _note;
- public string Note
- {
- get { return _note; }
- set { _note = value; }
- }
- protected string _tips;
- public string Tips
- {
- get { return _tips; }
- set { _tips = value; }
- }
- protected short _level;
- public short Level
- {
- get { return _level; }
- set { _level = value; }
- }
- protected byte _canRetry;
- public byte CanRetry
- {
- get { return _canRetry; }
- set { _canRetry = value; }
- }
- protected byte _canIgnore;
- public byte CanIgnore
- {
- get { return _canIgnore; }
- set { _canIgnore = value; }
- }
- protected byte _canAbort;
- public byte CanAbort
- {
- get { return _canAbort; }
- set { _canAbort = value; }
- }
- protected string _operation;
- public string Operation
- {
- get { return _operation; }
- set { _operation = value; RaisePropertyChanged(); }
- }
- protected string _retryMsg;
- public string RetryMsg
- {
- get { return _retryMsg; }
- set { _retryMsg = value; RaisePropertyChanged(); }
- }
- protected string _retryMsgSuccess;
- public string RetryMsgSuccess
- {
- get { return _retryMsgSuccess; }
- set { _retryMsgSuccess = value; RaisePropertyChanged(); }
- }
- protected string _retryMsgFailed;
- public string RetryMsgFailed
- {
- get { return _retryMsgFailed; }
- set { _retryMsgFailed = value; RaisePropertyChanged(); }
- }
- }
- }
|