69 lines
2.8 KiB
C#
69 lines
2.8 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using CompanyManagment.App.Contracts.InstitutionContractContactinfo;
|
||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||
|
||
namespace CompanyManagment.App.Contracts.InstitutionContract;
|
||
|
||
public class CreateInstitutionContract
|
||
{
|
||
public long LawId { get; set; }
|
||
public string ContractNo { get; set; }
|
||
|
||
[Required(ErrorMessage = "انتخاب معرف اجباری است")]
|
||
public long RepresentativeId { get; set; }
|
||
|
||
public string RepresentativeName { get; set; }
|
||
|
||
[Required(ErrorMessage = "انتخاب طرف حساب اجباری است")]
|
||
public long ContractingPartyId { get; set; }
|
||
|
||
public string ContractingPartyName { get; set; }
|
||
public DateTime ContractDateGr { get; set; }
|
||
public string ContractDateFa { get; set; }
|
||
public string State { get; set; }
|
||
public string City { get; set; }
|
||
public string Address { get; set; }
|
||
public long ContactInfoId { get; set; }
|
||
public DateTime ContractStartGr { get; set; }
|
||
public string ContractStartFa { get; set; }
|
||
public DateTime ContractEndGr { get; set; }
|
||
public string ContractEndFa { get; set; }
|
||
public double ContractAmount { get; set; }
|
||
public string ContractAmountOAlone { get; set; }
|
||
public double DailyCompenseation { get; set; }
|
||
|
||
[RegularExpression("^[0-9]*$", ErrorMessage = "لطفا فقط عدد وارد کنید")]
|
||
public string WorkshopManualCount { get; set; }
|
||
|
||
[RegularExpression("^[0-9]*$", ErrorMessage = "لطفا فقط عدد وارد کنید")]
|
||
public string EmployeeManualCount { get; set; }
|
||
|
||
public double Obligation { get; set; }
|
||
public double TotalAmount { get; set; }
|
||
public int ExtensionNo { get; set; }
|
||
public List<InstitutionContractViewModel> InstitutionContracts { get; set; }
|
||
public SelectList RepresentativeSelectList { get; set; }
|
||
public SelectList ContractingPartiesSelectList { get; set; }
|
||
public string Description { get; set; }
|
||
public List<CreateContactInfo> ContactInformationList { get; set; }
|
||
public string ContractAmountString { get; set; }
|
||
public string DailyCompenseationString { get; set; }
|
||
public string ObligationString { get; set; }
|
||
public string TotalAmountString { get; set; }
|
||
public string WorkshopCount { get; set; }
|
||
public string EmployeeCount { get; set; }
|
||
public int ContactInfoCounter { get; set; }
|
||
public long PrviousContractId { get; set; }
|
||
|
||
public string Signature { get; set; }
|
||
public string OfficialCompany { get; set; }
|
||
public string TypeOfContract { get; set; }
|
||
|
||
public string HasValueAddedTax { get; set; }
|
||
public double ValueAddedTax { get; set; }
|
||
public string ValueAddedTaxStr { get; set; }
|
||
|
||
public List<CreateContactInfo> CreateContactInfos { get; set; }
|
||
} |