210 lines
4.8 KiB
C#
210 lines
4.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class ServiceRecordGroup : BeWoEntityBase
|
|
{
|
|
public static string PropertyName_CustomerCount = "CustomerCount";
|
|
|
|
public static string PropertyName_EmployeeCount = "EmployeeCount";
|
|
|
|
public static string PropertyName_EndDate = "EndDate";
|
|
|
|
public static string PropertyName_RoundedDuration = "RoundedDuration";
|
|
|
|
public static string PropertyName_ServiceRecordList = "ServiceRecordList";
|
|
|
|
public static string PropertyName_StartDate = "StartDate";
|
|
|
|
public static string PropertyName_Notice2 = "Notice2";
|
|
|
|
public static string PropertyName_Notice3 = "Notice3";
|
|
|
|
public static string PropertyName_Notice4 = "Notice4";
|
|
|
|
public static string PropertyName_Notice5 = "Notice5";
|
|
|
|
private int _CustomerCount;
|
|
|
|
private int _EmployeeCount;
|
|
|
|
private DateTime? _EndDate;
|
|
|
|
private decimal _RoundedDuration;
|
|
|
|
private IList<ServiceRecord> _ServiceRecordList;
|
|
|
|
private DateTime? _StartDate;
|
|
|
|
private string _Notice2;
|
|
|
|
private string _Notice3;
|
|
|
|
private string _Notice4;
|
|
|
|
private string _Notice5;
|
|
|
|
public virtual int CustomerCount
|
|
{
|
|
get
|
|
{
|
|
return this._CustomerCount;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._CustomerCount, value))
|
|
{
|
|
this._CustomerCount = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual int EmployeeCount
|
|
{
|
|
get
|
|
{
|
|
return this._EmployeeCount;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._EmployeeCount, value))
|
|
{
|
|
this._EmployeeCount = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime? EndDate
|
|
{
|
|
get
|
|
{
|
|
return this._EndDate;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._EndDate, value))
|
|
{
|
|
this._EndDate = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual decimal RoundedDuration
|
|
{
|
|
get
|
|
{
|
|
return this._RoundedDuration;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._RoundedDuration, value))
|
|
{
|
|
this._RoundedDuration = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual IList<ServiceRecord> ServiceRecordList
|
|
{
|
|
get
|
|
{
|
|
return this._ServiceRecordList ?? (this._ServiceRecordList = new List<ServiceRecord>());
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._ServiceRecordList, value))
|
|
{
|
|
this._ServiceRecordList = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime? StartDate
|
|
{
|
|
get
|
|
{
|
|
return this._StartDate;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._StartDate, value))
|
|
{
|
|
this._StartDate = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Notice2
|
|
{
|
|
get
|
|
{
|
|
return this._Notice2;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice2, value))
|
|
{
|
|
this._Notice2 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Notice3
|
|
{
|
|
get
|
|
{
|
|
return this._Notice3;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice3, value))
|
|
{
|
|
this._Notice3 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Notice4
|
|
{
|
|
get
|
|
{
|
|
return this._Notice4;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice4, value))
|
|
{
|
|
this._Notice4 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string Notice5
|
|
{
|
|
get
|
|
{
|
|
return this._Notice5;
|
|
}
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Notice5, value))
|
|
{
|
|
this._Notice5 = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
} |