Temporary ClientRegisration
This commit is contained in:
@@ -42,8 +42,24 @@ public class PersonalContractingParty : EntityBase
|
||||
|
||||
public string IsActiveString { get; private set; }
|
||||
public string IsBlock { get; private set; }
|
||||
|
||||
public int BlockTimes {get; private set; }
|
||||
|
||||
///// <summary>
|
||||
///// نام پدر
|
||||
///// </summary>
|
||||
//public string FatherName { get; private set; }
|
||||
|
||||
///// <summary>
|
||||
///// تاریخ تولد
|
||||
///// </summary>
|
||||
//public DateTime DateOfBirth { get; private set; }
|
||||
|
||||
///// <summary>
|
||||
///// آیا از طریق ای پی ای احراز هویت شده است
|
||||
///// </summary>
|
||||
//public bool IsAuthenticated { get; private set; }
|
||||
|
||||
public List<Employer> Employers { get; private set; }
|
||||
public Representative Representative { get; set; }
|
||||
|
||||
@@ -159,5 +175,8 @@ public class PersonalContractingParty : EntityBase
|
||||
this.IsActiveString = "false";
|
||||
}
|
||||
|
||||
|
||||
//public void Authenticated()
|
||||
//{
|
||||
// IsAuthenticated = true;
|
||||
//}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using _0_Framework.Domain;
|
||||
|
||||
namespace Company.Domain.TemporaryClientRegistrationAgg;
|
||||
|
||||
public class ContractingPartyTemp : EntityBase
|
||||
{
|
||||
public ContractingPartyTemp(string fName, string lName, string nationalCode, string idNumber, string phone, string fatherName, string state, string city, string address, string idNumberSeri, string idNumberSerial, string gender, DateTime dateOfBirth)
|
||||
{
|
||||
FName = fName;
|
||||
LName = lName;
|
||||
NationalCode = nationalCode;
|
||||
IdNumber = idNumber;
|
||||
Phone = phone;
|
||||
FatherName = fatherName;
|
||||
State = state;
|
||||
City = city;
|
||||
Address = address;
|
||||
IdNumberSeri = idNumberSeri;
|
||||
IdNumberSerial = idNumberSerial;
|
||||
Gender = gender;
|
||||
DateOfBirth = dateOfBirth;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// نام
|
||||
/// </summary>
|
||||
public string FName { get; private set; }
|
||||
/// <summary>
|
||||
/// نام خانوادگی
|
||||
/// </summary>
|
||||
public string LName { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// نام پدر
|
||||
/// </summary>
|
||||
public string FatherName { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// جنسیت
|
||||
/// </summary>
|
||||
public string Gender { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// کد ملی
|
||||
/// </summary>
|
||||
public string NationalCode { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
///تاریخ تولد
|
||||
/// </summary>
|
||||
public DateTime DateOfBirth { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// سری شناسنامه
|
||||
/// </summary>
|
||||
public string IdNumberSeri { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// سریال شناسنامه
|
||||
/// </summary>
|
||||
public string IdNumberSerial { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// شماره شناسنامه
|
||||
/// </summary>
|
||||
public string IdNumber { get; private set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// شماره همراه
|
||||
/// </summary>
|
||||
public string Phone { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// استان
|
||||
/// </summary>
|
||||
public string State { get; private set; }
|
||||
/// <summary>
|
||||
/// شهر
|
||||
/// </summary>
|
||||
public string City { get; private set; }
|
||||
/// <summary>
|
||||
/// نشانی
|
||||
/// </summary>
|
||||
public string Address { get; private set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using _0_Framework.Domain;
|
||||
|
||||
namespace Company.Domain.TemporaryClientRegistrationAgg;
|
||||
|
||||
public interface IContractingPartyTemp :IRepository<long, ContractingPartyTemp>
|
||||
{
|
||||
|
||||
}
|
||||
@@ -8,6 +8,9 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Company.Domain.RollCallServiceAgg;
|
||||
using System.Globalization;
|
||||
using CompanyManagment.EFCore.Migrations;
|
||||
using RollCallEmployee = Company.Domain.RollCallEmployeeAgg.RollCallEmployee;
|
||||
using RollCallEmployeeStatus = Company.Domain.RollCallEmployeeStatusAgg.RollCallEmployeeStatus;
|
||||
|
||||
|
||||
namespace CompanyManagment.Application
|
||||
@@ -84,12 +87,18 @@ namespace CompanyManagment.Application
|
||||
//368 پیتزا امیر آماده سازی
|
||||
//367 پیتزا امیر رستوران
|
||||
//286 مرکز توان بخشی رسالت
|
||||
bool skipRollCall = workshopId is 11 or 585 or 604 or 605 or 368 or 367 or 286;
|
||||
bool skipRollCallByWorkshopId = workshopId is 11 or 585 or 604 or 605 or 368 or 367 or 286;
|
||||
|
||||
#if DEBUG
|
||||
skipRollCall = workshopId is 11 or 585 or 604 or 605 or 368 or 367;
|
||||
#endif
|
||||
if (skipRollCall)
|
||||
//#if DEBUG
|
||||
// skipRollCallByWorkshopId = workshopId is 11 or 585 or 604 or 605 or 368 or 367;
|
||||
//#endif
|
||||
if (skipRollCallByWorkshopId)
|
||||
return false;
|
||||
|
||||
|
||||
// 42550 مصطفی مقدس نژاد فومنی
|
||||
bool skipRollCallByEmployeeId = employeeId is 42550;
|
||||
if (skipRollCallByEmployeeId)
|
||||
return false;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user