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
- {
- /// <summary>
- /// 操作状态
- /// 1 添加
- /// 2 修改
- /// </summary>
- public int Status { get; set; }
- /// <summary>
- /// 编号
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 洲名
- /// </summary>
- public string VisaContinent { get; set; }
- /// <summary>
- /// 国家名
- /// </summary>
- public string VisaCountry { get; set; }
- /// <summary>
- /// 是否免签 0:是 1:否
- /// </summary>
- public int IsVisaExemption { get; set; }
- /// <summary>
- /// 是否落地签 0:是 1:否
- /// </summary>
- public int IsVisaOnArrival { get; set; }
- /// <summary>
- /// 是否电子签 0:是 1:否
- /// </summary>
- public int IsElectronicSignature { get; set; }
- private decimal visaPrice;
- /// <summary>
- /// 签证费用
- /// </summary>
- 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;
- }
- }
- }
- /// <summary>
- /// 签证费用描述
- /// </summary>
- public string VisaPriceDesc { get; set; }
- /// <summary>
- /// 签证类型 大公务/小公务/大小公务同时免签
- /// </summary>
- public string VisaType { get; set; }
- /// <summary>
- /// 大公务费用
- /// 新增参数
- /// 雷怡 2024-05-07 15:45:09
- /// </summary>
- public decimal GrandBusinessAgencyFee { get; set; }
- /// <summary>
- /// 小公务费用
- /// 新增参数
- /// 雷怡 2024-05-07 15:45:09
- /// </summary>
- public decimal PettyBusinessAgencyFee { get; set; }
- private string visaTime;
- /// <summary>
- /// 一般签证时间
- /// </summary>
- public string VisaTime
- {
- get { return visaTime; }
- set
- {
- int s = -1;
- if (int.TryParse(value,out s))
- {
- visaTime = value;
- }
- else
- {
- ugentTime = "1";
- }
- }
- }
- /// <summary>
- /// 签证是否加急 0:加急 1: 不加急
- /// </summary>
- public int IsUrgent { get; set; }
- private string ugentTime;
- /// <summary>
- /// 加急时间
- /// </summary>
- public string UrgentTime
- {
- get { return ugentTime; }
- set
- {
- int s = -1;
- if (int.TryParse(value, out s))
- {
- ugentTime = value;
- }
- else
- {
- ugentTime = "1";
- }
- }
- }
- private decimal urgentPrice;
- /// <summary>
- /// 加急费用
- /// </summary>
- 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;
- }
- }
- }
- /// <summary>
- /// 加急费用描述
- /// </summary>
- public string UrgentPriceDesc { get; set; }
- /// <summary>
- /// 签证地址
- /// </summary>
- public string VisaAddress { get; set; }
- /// <summary>
- /// 创建者Id
- /// </summary>
- public int CreateUserId { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- public string Remark { get; set; }
-
- }
- public class DelCountryFeeCostDto
- {
- public int Id { get; set; }
- public int DeleteUserId { get; set; }
- }
- }
|