using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdminDAL.DTO.Department { public record DepartmentDTO { #region PrivateMembers #region Department private int departmentid; private string departmentcode; private string departmentname; private byte departmentisproduction; #region Process private int processid; private string processcode; private string processname; #endregion #region Calendar private int calendarid = -1; private string calendarcode; private string calendarname; #endregion #region Base private int departmentcreatedbyid; //CreatedById private string departmentcreatedbyname; //CreatedById private DateTime departmentcreatedon; //CreatedOn private int departmentmodifiedbyid; //ModifiedById private string departmentmodifiedbyname; //ModifiedById private DateTime departmentmodifiedon; //ModifiedOn #endregion #region Standard private Int16 departmentsortorder; //SortOrder private byte departmentstatus; //Status private Int16 departmentversion; //Version #endregion private int departmentheadid = -1; private string departmentheadcode; private string departmentheadname; private string departmentapplicableouids = ""; private string departmentapplicableounames = ""; #endregion #endregion #region PublicMembers #region Department public int DepartmentId { get { return departmentid; } //Id set { departmentid = value; } //Id } public string DepartmentCode { get { return departmentcode; } //Code set { departmentcode = value; } //Code } public string DepartmentName { get { return departmentname; } //Name set { departmentname = value; } //Name } public byte DepartmentIsProduction { get { return departmentisproduction; } set { departmentisproduction = value; } } #region Process public int ProcessId { get { return processid; } set { processid = value; } } public string ProcessCode { get { return processcode; } set { processcode = value; } } public string ProcessName { get { return processname; } set { processname = value; } } #endregion #region Calendar public int CalendarId { get { return calendarid; } set { calendarid = value; } } public string CalendarCode { get { return calendarcode; } set { calendarcode = value; } } public string CalendarName { get { return calendarname; } set { calendarname = value; } } #endregion #endregion #endregion #region Base public int DepartmentCreatedById { get { return departmentcreatedbyid; } //CreatedById set { departmentcreatedbyid = value; } //CreatedById } public string DepartmentCreatedByName { get { return departmentcreatedbyname; } //CreatedById set { departmentcreatedbyname = value; } //CreatedById } public DateTime DepartmentCreatedOn { get { return departmentcreatedon; } //CreatedOn set { departmentcreatedon = value; } //CreatedOn } public int DepartmentModifiedById { get { return departmentmodifiedbyid; } //ModifiedById set { departmentmodifiedbyid = value; } //ModifiedById } public string DepartmentModifiedByName { get { return departmentmodifiedbyname; } //ModifiedById set { departmentmodifiedbyname = value; } //ModifiedById } public DateTime DepartmentModifiedOn { get { return departmentmodifiedon; } //ModifiedOn set { departmentmodifiedon = value; } //ModifiedOn } #endregion #region Standard public Int16 DepartmentSortOrder { get { return departmentsortorder; } //SortOrder set { departmentsortorder = value; } //SortOrder } public byte DepartmentStatus { get { return departmentstatus; } //Status set { departmentstatus = value; } //Status } public Int16 DepartmentVersion { get { return departmentversion; } //Version set { departmentversion = value; } //Version } public int DepartmentHeadId { get { return departmentheadid; } set { departmentheadid = value; } } public string DepartmentHeadCode { get { return departmentheadcode; } set { departmentheadcode = value; } } public string DepartmentHeadName { get { return departmentheadname; } set { departmentheadname = value; } } #endregion public string DepartmentApplicableOUIds { get { return departmentapplicableouids; } set { departmentapplicableouids = value; } } public string DepartmentApplicableOUNames { get { return departmentapplicableounames; } set { departmentapplicableounames = value; } } } }