using EyeSoft.Collections.Generic;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.Groups
{
public class InvitationOfficialActivitiesView
{
///
/// 主键Id
///
public int Id { get; set; }
///
/// 团组Id
///
public int DiId { get; set; }
///
/// 邀请方地区
///
public string InviterArea { get; set; }
///
/// 邀请方
///
public string Inviter { get; set; }
///
/// 邀请时间
///
public DateTime InviteTime { get; set; }
///
/// 邀请费用
///
public decimal InviteCost { get; set; }
///
/// 邀请费用币种
///
public string? InviteCurrency { get; set; }
///
/// 快递费用
///
public decimal SendCost { get; set; }
///
/// 快递费用币种
///
public string? SendCurrency { get; set; }
///
/// 公务活动费
///
public decimal EventsCost { get; set; }
///
/// 公务活动费币种
///
public string? EventsCurrency { get; set; }
///
/// 公务翻译费
///
public decimal TranslateCost { get; set; }
///
/// 公务翻译费币种
///
public string? TranslateCurrency { get; set; }
///
/// 付款金额
///
public decimal PayMoney { get; set; }
///
/// 付款币种
///
public string? PaymentCurrency { get; set; }
///
/// 是否到场
///
public int IsGoOfficaiaBussiness { get; set; }
///
/// 文件地址
///
public string Attachment { get; set; }
///
/// 附件
///
public string[] Attachments
{
get
{
var array = new string[] { };
if (!string.IsNullOrEmpty(Attachment))
{
try
{
array = JsonConvert.DeserializeObject(Attachment);
}
catch (Exception)
{
array = new List() { Attachment }.ToArray();
}
}
return array;
}
}
///
/// 是否审核
///
public int IsAudit { get; set; }
public int IsPay { get; set; }
}
}