2023-06-30 14:33:50 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
using BS.Shared;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BeWo.Data.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ValidationMessage : BeWoEntityBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string PropertyName_Message = "Message";
|
|
|
|
|
|
public static string PropertyName_UserOid = "UserOid";
|
|
|
|
|
|
public static string PropertyName_EmployeeOid = "EmployeeOid";
|
|
|
|
|
|
public static string PropertyName_SupportConceptOid = "SupportConceptOid";
|
|
|
|
|
|
public static string PropertyName_CustomerName = "CustomerName";
|
2023-08-29 13:28:45 +02:00
|
|
|
|
public static string PropertyName_ServiceCategory = "ServiceCategory";
|
|
|
|
|
|
public static string PropertyName_ServiceDescription = "ServiceDescription";
|
2023-06-30 14:33:50 +02:00
|
|
|
|
public static string PropertyName_ServiceRecordStart = "ServiceRecordStart";
|
|
|
|
|
|
public static string PropertyName_ServiceRecordEnd = "ServiceRecordEnd";
|
|
|
|
|
|
public static string PropertyName_ServiceRecordValidationResult = "ServiceRecordValidationResult";
|
|
|
|
|
|
|
|
|
|
|
|
private string _Message;
|
|
|
|
|
|
private long? _UserOid;
|
|
|
|
|
|
private long? _EmployeeOid;
|
|
|
|
|
|
private long? _SupportConceptOid;
|
|
|
|
|
|
private string _CustomerName;
|
2023-08-29 13:28:45 +02:00
|
|
|
|
private string _ServiceCategory;
|
|
|
|
|
|
private string _ServiceDescription;
|
2023-06-30 14:33:50 +02:00
|
|
|
|
private DateTime? _ServiceRecordStart;
|
|
|
|
|
|
private DateTime? _ServiceRecordEnd;
|
|
|
|
|
|
private int _ServiceRecordValidationResult;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ValidationMessage()
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Tid = TableID.ValidationMessage;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public virtual string Message
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._Message;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._Message, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._Message = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual long? UserOid
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _UserOid;
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_UserOid, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
_UserOid = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual long? EmployeeOid
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _EmployeeOid;
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_EmployeeOid, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
_EmployeeOid = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual long? SupportConceptOid
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _SupportConceptOid;
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_SupportConceptOid, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
_SupportConceptOid = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual string CustomerName
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _CustomerName;
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_CustomerName, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
_CustomerName = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-08-29 13:28:45 +02:00
|
|
|
|
public virtual string ServiceCategory
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _ServiceCategory;
|
2023-06-30 14:33:50 +02:00
|
|
|
|
|
2023-08-29 13:28:45 +02:00
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_ServiceCategory, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
_ServiceCategory = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual string ServiceDescription
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _ServiceDescription;
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (AreDifferent(_ServiceDescription, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
_ServiceDescription = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-06-30 14:33:50 +02:00
|
|
|
|
public virtual DateTime? ServiceRecordStart
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._ServiceRecordStart;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._ServiceRecordStart, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._ServiceRecordStart = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual DateTime? ServiceRecordEnd
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._ServiceRecordEnd;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._ServiceRecordEnd, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._ServiceRecordEnd = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual int ServiceRecordValidationResult
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._ServiceRecordValidationResult;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (this.AreDifferent(this._ServiceRecordValidationResult, value))
|
|
|
|
|
|
{
|
|
|
|
|
|
this._ServiceRecordValidationResult = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|