using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FMDAL.DTO.AssetPool { // MASSETPOOL — named, persistent asset pool header. Deliberately carries no ASSETTYPEID — // a single pool may hold mixed asset types by design (e.g. "Line 3 Bin Pool"). public class AssetPoolDTO { #region PrivateMembers private int assetpoolid; //Id private string poolcode; //Code private string poolname; //Name #region PartyBranchLocation private int? partybranchlocationid; //home/base zone, nullable private string partybranchlocationcode; private string partybranchlocationname; #endregion private int? targetcount; //optional expected member count, for utilization reporting private string description; private Int16 sortorder = 9999; private byte status = 1; private Int16 version; private int createdbyid; private DateTime createdon; private int modifiedbyid; private DateTime modifiedon; private int ouid; private int tenantid = -1; private List assetpooldetailarray = new(); #endregion #region PublicMembers 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; } } #region PartyBranchLocation 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; } } #endregion public int? TargetCount { get { return targetcount; } set { targetcount = value; } } public string Description { get { return description; } set { description = value; } } public Int16 SortOrder { get { return sortorder; } set { sortorder = value; } } public byte Status { get { return status; } set { status = value; } } public Int16 Version { get { return version; } set { version = value; } } public int CreatedById { get { return createdbyid; } set { createdbyid = value; } } public DateTime CreatedOn { get { return createdon; } set { createdon = value; } } public int ModifiedById { get { return modifiedbyid; } set { modifiedbyid = value; } } public DateTime ModifiedOn { get { return modifiedon; } set { modifiedon = value; } } public int OUId { get { return ouid; } set { ouid = value; } } public int TenantId { get { return tenantid; } set { tenantid = value; } } public List AssetPoolDetailArray { get { return assetpooldetailarray; } set { assetpooldetailarray = value; } } #endregion } }