Files
Backend-Api/Company.Domain/TemporaryClientRegistrationAgg/WorkshopTemp.cs

48 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Collections.Generic;
using _0_Framework.Domain;
namespace Company.Domain.TemporaryClientRegistrationAgg;
public class WorkshopTemp : EntityBase
{
public WorkshopTemp(string workshopName, int countPerson, long contractingPartyTempId, double workshopServicesAmount)
{
WorkshopName = workshopName;
CountPerson = countPerson;
ContractingPartyTempId = contractingPartyTempId;
WorkshopServicesAmount = workshopServicesAmount;
}
/// <summary>
/// نام کارگاه
/// </summary>
public string WorkshopName { get; private set; }
/// <summary>
/// تعداد پرسنل
/// </summary>
public int CountPerson { get; private set; }
/// <summary>
/// ای دی طرف حساب
/// </summary>
public long ContractingPartyTempId { get; private set; }
/// <summary>
/// جمع کل مبالغ سرویس ها برای کارگاه
/// </summary>
public double WorkshopServicesAmount { get; private set; }
public List<WorkshopServicesTemp> WorkshopServicesTemps { get; private set; }
public void Edit(string workshopName, int countPerson, double workshopServicesAmount)
{
this.WorkshopName = workshopName;
this.CountPerson = countPerson;
this.WorkshopServicesAmount = workshopServicesAmount;
}
}