Files
2024-07-05 21:36:15 +03:30

18 lines
578 B
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.ComponentModel.DataAnnotations;
namespace CompanyManagment.App.Contracts.YearlySalaryItems;
public class CreateYearlySalaryItem
{
public string ItemName { get; set; }
[RegularExpression("[+-]?\\d*\\.?\\d+", ErrorMessage = "لطفا فقط عدد وارد کنید")]
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public double ItemValue { get; set; }
public string ValueType { get; set; }
public int ParentConnectionId { get; set; }
public long YearlySalaryId { get; set; }
}