Files
BeWoPlaner/Dakota/Models/Datei/SozioTherapieDatei.cs
2023-08-14 17:35:58 +02:00

27 lines
708 B
C#

using Dakota.Models.Segmente;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dakota.Models.Datei
{
internal class SozioTherapieDatei : IRowable
{
public SegmentUNB UNB { get; set; }
public List<BlockKostenträger> BlockKostenträger { get; set; }
public SegmentUNZ UNZ { get; set; }
internal SozioTherapieDatei()
{
BlockKostenträger = new List<BlockKostenträger>();
}
public string GetRows()
{
return UNB.GetValue() + string.Join(string.Empty, BlockKostenträger.Select(x => x.GetRows())) + UNZ.GetValue();
}
}
}