using EyeSoft.Collections.Generic;
using Newtonsoft.Json;
using OASystem.Domain.Entities.Groups;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.Groups
{
public class InvitationOfficialActivityView
{
///
/// 团组外键编号
///
public int DiId { get; set; }
///
/// 邀请方地区
///
public string InviterArea { get; set; }
///
/// 邀请方
///
public string Inviter { get; set; }
///
/// 邀请时间
///
public DateTime InviteTime { get; set; }
///
/// 附件
///
public string Attachment { get; set; }
///
/// 邀请费用
///
public decimal InviteCost { get; set; }
///
/// 邀请费用币种
///
public int InviteCurrency { get; set; }
///
/// 快递费用
///
public decimal SendCost { get; set; }
///
/// 快递费用币种
///
public int SendCurrency { get; set; }
///
/// 公务活动费
///
public decimal EventsCost { get; set; }
///
/// 公务活动费币种
///
public int EventsCurrency { get; set; }
///
/// 公务翻译费
///
public decimal TranslateCost { get; set; }
///
/// 公务翻译费币种
///
public int TranslateCurrency { get; set; }
///
/// 公务标识
///
public int IsGoOfficaiaBussiness { get; set; }
}
public class Grp_InvitationOfficialActivitiesView : Grp_InvitationOfficialActivities
{
///
/// 附件
///
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 class InvitationOfficialActivitiesByIdView
{
//------------------ 消费方式及时间 --------------------------
///
/// 消费方式
///
public string ConsumptionPatterns { get; set; }
///
/// 消费日期
///
public string ConsumptionDate { get; set; }
//---------------------payType==刷卡--------------------------
///
/// 卡类型
///
public int CTDId { get; set; }
///
/// 银行卡号
///
public string BankNo { get; set; }
///
/// 持卡人姓名
///
public string CardholderName { get; set; }
//---------------------payType==转账Or现金--------------------------
///
/// 公司银行卡号
///
public string CompanyBankNo { get; set; }
///
/// 对方开户行
///
public string OtherBankName { get; set; }
///
/// 对方银行账号
///
public string OtherSideNo { get; set; }
///
/// 对方姓名
///
public string OtherSideName { get; set; }
///
/// 付款金额
///
public decimal PayMoney { get; set; }
///
/// 付款币种Id
///
public int PaymentCurrency { get; set; }
///
/// 支付方式
///
public int PayDId { get; set; }
///
/// 费用表示
///
public int OrbitalPrivateTransfer { get; set; }
///
/// 收款方
///
public string Payee { get; set; }
//---------------------商邀参数--------------------------
///
/// 主键Id
///
public int Id { get; set; }
///
/// 团组外键编号
///
public int DiId { get; set; }
///
/// 邀请方地区
///
public string InviterArea { get; set; }
///
/// 邀请方
///
public string Inviter { get; set; }
///
/// 邀请时间
///
public DateTime InviteTime { 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 decimal InviteCost { get; set; }
///
/// 邀请费用币种
///
public int InviteCurrency { get; set; }
///
/// 快递费用
///
public decimal SendCost { get; set; }
///
/// 快递费用币种
///
public int SendCurrency { get; set; }
///
/// 公务活动费
///
public decimal EventsCost { get; set; }
///
/// 公务活动费币种
///
public int EventsCurrency { get; set; }
///
/// 公务翻译费
///
public decimal TranslateCost { get; set; }
///
/// 公务翻译费币种
///
public int TranslateCurrency { get; set; }
///
/// 公务标识(是否到场)
///
public int IsGoOfficaiaBussiness { get; set; }
///
/// 创建者Id
///
public int CreateUserId { get; set; }
///
/// 备注
///
public string Remark { get; set; }
//-----------------------邀请方资料----------
/// 邀请方地址
public string Address { get; set; }
///
/// 联系人
///
public string Contact { get; set; }
///
/// 职务
///
public string Job { get; set; }
///
/// 联系电话
///
public string Tel { get; set; }
///
/// 电子邮箱
///
public string Email { get; set; }
///
/// 传真号码
///
public string Fax { get; set; }
///
/// 其他信息
///
public string OtherInformation { get; set; }
}
}