EchoTex_Payroll/HRM.BO/PMP/PMPValueBehavior.cs

84 lines
1.6 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class PMPValueBehavior : BasicBaseObject
{
#region Constructor
public PMPValueBehavior()
{
Code = string.Empty;
this._name = string.Empty;
ParentID = null;
Tier = 1;
this.Status = EnumStatus.Active;
}
#endregion
#region Properties
public string Code { get; set; }
#region Name : string
private string _name;
public string Name
{
get { return _name; }
set { _name = value; }
}
#endregion
#region Description : string
private string _description;
public string Description
{
get { return _description; }
set { _description = value; }
}
#endregion
#region Question : string
private string _question;
public string Question
{
get { return _question; }
set { _question = value; }
}
#endregion
public int? ParentID { get; set; }
public int Tier { get; set; }
public int PayrollTypeID { get; set; }
#endregion
}
#region IPMPValueBehavior Service
public interface IPMPValueBehaviorService
{
List<PMPValueBehavior> Get(EnumStatus status);
PMPValueBehavior Get(int id);
List<PMPValueBehavior> Get();
int Save(PMPValueBehavior item);
void Delete(int id);
}
#endregion
}