using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdminDAL.DTO.OrganizationGroup { public record OrganizationGroupDetailDTO { #region PrivateMembers #region OrganizationGroupDetail private int organizationgroupdetailid; //Id #region OrganizationGroup private int organizationgroupid; //Id private string organizationgroupcode; //Code private string organizationgroupname; //Name #endregion private Int16 organizationgroupdetailslno; //Slno private byte organizationgroupdetailoperationtype; //OperationType private byte organizationgroupdetailgrouptype; //GroupType #region OrganizationUnit private int organizationunitid = -1; //Id private string organizationunitcode; //Code private string organizationunitname; //Name private string organizationunitshortname; //ShortName #endregion #region Company private int companyid = -1; //Id private string companycode; //Code private string companyname; //Name private string companyshortname; //ShortName #endregion #region Branch private int branchid = -1; //Id private string branchcode; //Code private string branchname; //Name private string branchshortname; //ShortName #endregion #region Division private int divisionid = -1; //Id private string divisioncode; //Code private string divisionname; //Name private string divisionshortname; //ShortName #endregion #region OrganizationGroup private int organizationgroupparentid = -1; //Id private string organizationgroupparentcode; //Code private string organizationgroupparentname; //Name #endregion #endregion #endregion #region PublicMembers #region OrganizationGroupDetail public int OrganizationGroupDetailId { get { return organizationgroupdetailid; } //Id set { organizationgroupdetailid = value; } //Id } #region OrganizationGroup public int OrganizationGroupId { get { return organizationgroupid; } //Id set { organizationgroupid = value; } //Id } public string OrganizationGroupCode { get { return organizationgroupcode; } //Code set { organizationgroupcode = value; } //Code } public string OrganizationGroupName { get { return organizationgroupname; } //Name set { organizationgroupname = value; } //Name } #endregion public Int16 OrganizationGroupDetailSlNo { get { return organizationgroupdetailslno; } //Slno set { organizationgroupdetailslno = value; } //Slno } public byte OrganizationGroupDetailOperationType { get { return organizationgroupdetailoperationtype; } //OperationType set { organizationgroupdetailoperationtype = value; } //OperationType } public byte OrganizationGroupDetailGroupType { get { return organizationgroupdetailgrouptype; } //GroupType set { organizationgroupdetailgrouptype = value; } //GroupType } #region OrganizationUnit public int OrganizationUnitId { get { return organizationunitid; } //Id set { organizationunitid = value; } //Id } public string OrganizationUnitCode { get { return organizationunitcode; } //Code set { organizationunitcode = value; } //Code } public string OrganizationUnitName { get { return organizationunitname; } //Name set { organizationunitname = value; } //Name } public string OrganizationUnitShortName { get { return organizationunitshortname; } //ShortName set { organizationunitshortname = value; } //ShortName } #endregion #region Company public int CompanyId { get { return companyid; } //Id set { companyid = value; } //Id } public string CompanyCode { get { return companycode; } //Code set { companycode = value; } //Code } public string CompanyName { get { return companyname; } //Name set { companyname = value; } //Name } public string CompanyShortName { get { return companyshortname; } //ShortName set { companyshortname = value; } //ShortName } #endregion #region Branch public int BranchId { get { return branchid; } //Id set { branchid = value; } //Id } public string BranchCode { get { return branchcode; } //Code set { branchcode = value; } //Code } public string BranchName { get { return branchname; } //Name set { branchname = value; } //Name } public string BranchShortName { get { return branchshortname; } //ShortName set { branchshortname = value; } //ShortName } #endregion #region Division public int DivisionId { get { return divisionid; } //Id set { divisionid = value; } //Id } public string DivisionCode { get { return divisioncode; } //Code set { divisioncode = value; } //Code } public string DivisionName { get { return divisionname; } //Name set { divisionname = value; } //Name } public string DivisionShortName { get { return divisionshortname; } //ShortName set { divisionshortname = value; } //ShortName } #endregion #region OrganizationGroup public int OrganizationGroupParentId { get { return organizationgroupparentid; } //Id set { organizationgroupparentid = value; } //Id } public string OrganizationGroupParentCode { get { return organizationgroupparentcode; } //Code set { organizationgroupparentcode = value; } //Code } public string OrganizationGroupParentName { get { return organizationgroupparentname; } //Name set { organizationgroupparentname = value; } //Name } #endregion #endregion #endregion } }