Files
BeWoPlaner/Dakota/Models/SozioTherapieDatei.cs

27 lines
702 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
{
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();
}
}
}