using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FMDAL.DTO.AssetPool { // Lightweight header row for GetAssetPoolList — no nested detail array (avoids an N-pool x // M-member join explosion for a list screen). ActiveMemberCount is a live count of currently // active (VALIDTO IS NULL) MASSETPOOLDETAIL rows, useful alongside TargetCount for // utilization reporting on the list/dropdown screen. public class AssetPoolListDTO { private int assetpoolid; private string poolcode; private string poolname; private int? partybranchlocationid; private string partybranchlocationcode; private string partybranchlocationname; private int? targetcount; private Int16 sortorder; private byte status; private int activemembercount; public int AssetPoolId { get { return assetpoolid; } set { assetpoolid = value; } } public string PoolCode { get { return poolcode; } set { poolcode = value; } } public string PoolName { get { return poolname; } set { poolname = value; } } public int? PartyBranchLocationId { get { return partybranchlocationid; } set { partybranchlocationid = value; } } public string PartyBranchLocationCode { get { return partybranchlocationcode; } set { partybranchlocationcode = value; } } public string PartyBranchLocationName { get { return partybranchlocationname; } set { partybranchlocationname = value; } } public int? TargetCount { get { return targetcount; } set { targetcount = value; } } public Int16 SortOrder { get { return sortorder; } set { sortorder = value; } } public byte Status { get { return status; } set { status = value; } } public int ActiveMemberCount { get { return activemembercount; } set { activemembercount = value; } } } }