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

57 lines
2.1 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.FileEmployee;
public class CreateFileEmployee
{
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public string FName { get; set; }
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public string LName { get; set; }
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public long RepresentativeId { get; set; }
public string RepresentativeFullName { get; set; }
public string FatherName { get; set; }
public string DateOfBirth { get; set; }
public string NationalCode { get; set; }
public string IdNumber { get; set; }
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public string Gender { get; set; }
public string MaritalStatus { get; set; }
public string LevelOfEducation { get; set; }
public string FieldOfStudy { get; set; }
public string InsuranceCode { 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 FullName { get; set; }
public List<RepresentativeViewModel> RepresentativeViewModels { get; set; }
}