123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Text.RegularExpressions;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Dtos.Resource
- {
- public class OperationCountryFeeCostDto
- {
-
-
-
-
-
- public int Status { get; set; }
-
-
-
- public int Id { get; set; }
-
-
-
- public string VisaContinent { get; set; }
-
-
-
- public string VisaCountry { get; set; }
-
-
-
- public int IsVisaExemption { get; set; }
-
-
-
- public int IsVisaOnArrival { get; set; }
-
-
-
- public int IsElectronicSignature { get; set; }
- private decimal visaPrice;
-
-
-
- public decimal VisaPrice
- {
- get { return visaPrice; }
- set
- {
- Regex reg = new Regex(@"[^0-9]{1,17}([.]{1}[^0-9]{1,4})?$");
- if (!reg.IsMatch(value.ToString()))
- {
- visaPrice = Convert.ToDecimal(value);
- }
- else
- {
- visaPrice = 0;
- }
- }
- }
-
-
-
- public string VisaPriceDesc { get; set; }
-
-
-
- public string VisaType { get; set; }
-
-
-
-
-
- public decimal GrandBusinessAgencyFee { get; set; }
-
-
-
-
-
- public decimal PettyBusinessAgencyFee { get; set; }
- private string visaTime;
-
-
-
- public string VisaTime
- {
- get { return visaTime; }
- set
- {
- int s = -1;
- if (int.TryParse(value,out s))
- {
- visaTime = value;
- }
- else
- {
- ugentTime = "1";
- }
- }
- }
-
-
-
- public int IsUrgent { get; set; }
- private string ugentTime;
-
-
-
- public string UrgentTime
- {
- get { return ugentTime; }
- set
- {
- int s = -1;
- if (int.TryParse(value, out s))
- {
- ugentTime = value;
- }
- else
- {
- ugentTime = "1";
- }
- }
- }
- private decimal urgentPrice;
-
-
-
- public decimal UrgentPrice
- {
- get { return urgentPrice; }
- set
- {
- Regex reg = new Regex(@"[^0-9]{1,17}([.]{1}[^0-9]{1,4})?$");
- if (!reg.IsMatch(value.ToString()))
- {
- urgentPrice = Convert.ToDecimal(value);
- }
- else
- {
- urgentPrice = 0;
- }
- }
- }
-
-
-
- public string UrgentPriceDesc { get; set; }
-
-
-
- public string VisaAddress { get; set; }
-
-
-
- public int CreateUserId { get; set; }
-
-
-
- public string Remark { get; set; }
-
- }
- public class DelCountryFeeCostDto
- {
- public int Id { get; set; }
- public int DeleteUserId { get; set; }
- }
- }
|