Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
using GozareshgirProgramManager.Domain._Common;
|
||||
using GozareshgirProgramManager.Domain.HolidayItemAgg;
|
||||
|
||||
namespace GozareshgirProgramManager.Domain.HolidayAgg;
|
||||
|
||||
public class Holiday : EntityBase<long>
|
||||
{
|
||||
public Holiday(string year)
|
||||
{
|
||||
Year = year;
|
||||
|
||||
}
|
||||
|
||||
public string Year { get; private set; }
|
||||
public List<HolidayItem> HolidayItems { get; set; }
|
||||
|
||||
public Holiday()
|
||||
{
|
||||
HolidayItems = new List<HolidayItem>();
|
||||
}
|
||||
public void Edit(string year)
|
||||
{
|
||||
Year = year;
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
using GozareshgirProgramManager.Domain._Common;
|
||||
using GozareshgirProgramManager.Domain.HolidayAgg;
|
||||
|
||||
namespace GozareshgirProgramManager.Domain.HolidayItemAgg;
|
||||
|
||||
public class HolidayItem : EntityBase<long>
|
||||
{
|
||||
public HolidayItem(DateTime holidaydate, long holidayId, string holidayYear)
|
||||
{
|
||||
Holidaydate = holidaydate;
|
||||
HolidayId = holidayId;
|
||||
HolidayYear = holidayYear;
|
||||
}
|
||||
|
||||
public DateTime Holidaydate { get; private set; }
|
||||
public long HolidayId { get; private set; }
|
||||
public string HolidayYear { get; private set; }
|
||||
|
||||
public Holiday Holidayss { get; set; }
|
||||
|
||||
public void Edit(DateTime holidaydate, long holidayId, string holidayYear)
|
||||
{
|
||||
Holidaydate = holidaydate;
|
||||
HolidayId = holidayId;
|
||||
HolidayYear = holidayYear;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user