using Microsoft.AspNetCore.Http;
using OASystem.Domain.ViewModels.Resource;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Dtos.Resource
{
public class OfficialActivitiesByDiIdDto: DtoBase
{
public int DiId { get; set; }
}
public class OfficialActivitiesDiIdDto
{
public int Id { get; set; }
public int DiId { get; set; }
}
public class OpOfficialActivitiesDto
{
///
/// 操作状态
/// 1 添加
/// 2 修改
///
public int Status { get; set; }
///
/// 公务数据来源
///
public int DataSource { get; set; }
///
/// 编号
///
public int Id { get; set; }
///
/// 团组ID
///
public int DiId { get; set; }
///
/// 邀请方 1 公务方 0
///
public int Type { get; set; }
public string Client { get; set; }
///
/// 公务日期
///
public string Date { get; set; }
///
/// 精确时间
///
public string Time { get; set; }
///
/// 地址
///
public string Address { get; set; }
///
/// 联系人
///
public string Contact { get; set; }
///
/// 联系人职务
///
public string Job { get; set; }
///
/// 联系电话
///
public string Tel { get; set; }
///
/// 公务形式
///
public int OfficialForm { get; set; }
///
/// 公务方背景
///
public string Setting { get; set; }
///
/// 着装要求
///
public string Dresscode { get; set; }
///
/// 参会人员
///
public string Attendees { get; set; }
///
/// 是否需要翻译
///
public int IsNeedTrans { get; set; }
///
/// 翻译人员Id
///
public int[] TranslatorIdItem { get; set; }
///
/// 翻译语种
///
public string language { get; set; }
///
/// 暂定行程
///
public string Trip { get; set; }
///
/// 创建者Id
///
public int CreateUserId { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 是否报批
///
public int IsSubmitApproval { get; set; }
///
/// 是否付费
///
public int IsPay { get; set; }
///
/// 国家
///
public string Country { get; set; }
///
/// 区域
///
public string Area { get; set; }
///
/// 涉及领域
///
public string Field { get; set; }
///
/// 请示范例
///
public string ReqSample { get; set; }
///
/// 邮箱/微信
///
public string? EmailOrWeChat { get; set; }
///
/// 网址
///
public string? Website { get; set; }
///
/// 公务性质
///
public string Nature { get; set; }
///
/// 翻译人员Info
///
public TranslatorView? TranslatorInfo { get; set; }
}
public class OfficialActivitiesUploadFilesDto
{
public List files { get; set; }
public int id { get; set; }
public int diId { get; set; }
public int currUserId { get; set; }
}
public class OfficialActivitiesDelFileDto
{
public int Id { get; set; }
public string FileName { get; set; }
}
public class OfficialActivitiesInviteOperationDto
{
public int Id { get; set; }
///
/// 邀请确认
/// 0 未确认 1 已确认
///
public int Type { get; set; }
}
///
/// 导出请示参数
///
public class OfficialActivitiesFileDownload
{
///
/// 文件类型
/// 1 省外办出访请示
/// 2 市外办出访请示
///
public int FileType { get; set; } = 1;
public int DiId { get; set; }
}
public class ExportOfficialActivitiesInfoDto
{
[Required(ErrorMessage = "请输入开始时间")]
public string StartTime { get; set; }
[Required(ErrorMessage = "请输入结束时间")]
public string EndTime { get; set; }
///
/// -1 All 0 未确认 1 已确认
///
public int State { get; set; }
}
public class PostOfficialActivitiesReqReqSampleTipsDto
{
public string country { get; set; }
public string area { get; set; }
public string client { get; set; }
}
}