Files
Backend-Api/CompanyManagment.App.Contracts/FileEmployer/CreateFileEmployer.cs
2024-07-05 21:36:15 +03:30

62 lines
2.4 KiB
C#
Raw Permalink 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;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CompanyManagment.App.Contracts.Representative;
namespace CompanyManagment.App.Contracts.FileEmployer;
public class CreateFileEmployer
{
public string FName { get; set; }
public string LName { get; set; }
public string LegalName { get; set; }
public string FullName { get; set; }
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public long RepresentativeId { get; set; }
public string RepresentativeFullName { get; set; }
public string DateOfBirth { get; set; }
[RegularExpression("^[0-9]*$", ErrorMessage = "لطفا فقط عدد وارد کنید")]
public string InsuranceWorkshopCode { get; set; }
public string NationalCode { get; set; }
public string LevelOfEducation { get; set; }
public string FieldOfStudy { get; set; }
public string IdNumber { get; set; }
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public string Gender { get; set; }
public string MaritalStatus { get; set; }
[RegularExpression("^[0-9]*$", ErrorMessage = "لطفا فقط عدد وارد کنید")]
public string RegisterId { get; set; }
[RegularExpression("[0-9]{11}", ErrorMessage = "لطفا فقط عدد 11 رقمی وارد کنید")]
public string NationalId { get; set; }
public string IsLegal { get; set; }
[DataType(DataType.PhoneNumber)]
[RegularExpression(@"^\(?([0-9]{4})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$", ErrorMessage = "لطفا شماره تلفن معتبر وارد کنید")]
public string Phone { get; set; }
[RegularExpression("^[0-9]*$", ErrorMessage = "لطفا فقط عدد وارد کنید")]
public string OfficePhone { get; set; }
public string MclsUserName { get; set; }
public string MclsPassword { get; set; }
public string EserviceUserName { get; set; }
public string EservicePassword { get; set; }
public string TaxOfficeUserName { get; set; }
public string TaxOfficepassword { get; set; }
public string SanaUserName { get; set; }
public string SanaPassword { get; set; }
public string IsActive { get; set; }
public List<RepresentativeViewModel> RepresentativeViewModels { get; set; }
}