using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Entities.Resource
{
///
/// 公务出访表
///
[SugarTable("Res_OfficialActivities")]
public class Res_OfficialActivities : EntityBase
{ ///
/// 团组ID
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int DiId { get; set; }
///
/// 公务数据来源
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int DataSource { get; set; }
///
/// 0带公务 1不带公务 2纯公务
/// 邀请方 1 公务方 0
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int Type { get; set; }
///
/// 所在国家
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
public string Country { get; set; }
///
/// 所在区域(城市)
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Area { get; set; }
/// -
/// 公务单位
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
public string Client { get; set; }
///
/// 公务日期
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(120)")]
public string Date { get; set; }
///
/// 精确时间
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(120)")]
public string Time { get; set; }
///
/// 地址
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
public string Address { get; set; }
///
/// 联系人
/// 可能会存在特殊字符 使用nverchar
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
public string Contact { get; set; }
///
/// 联系人职务
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(50)")]
public string Job { get; set; }
///
/// 联系电话
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
public string Tel { get; set; }
///
/// 公务形式
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int OfficialForm { get; set; }
///
/// 公务方所属领域
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
public string Field { get; set; }
///
/// 请示范例
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(500)")]
public string ReqSample { get; set; }
///
/// 公务方背景
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
public string Setting { get; set; }
///
/// 着装要求
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
public string Dresscode { get; set; }
///
/// 参会人员
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
public string Attendees { get; set; }
///
/// 是否需要翻译
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsNeedTrans { get; set; }
///
/// 翻译人员
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
public string Translators { get; set; }
///
/// 翻译语种
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(120)")]
public string Language { get; set; }
///
/// 暂定行程
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
public string Trip { get; set; }
///
/// 是否报批
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsSubmitApproval { get; set; }
///
/// 是否付费
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int IsPay { get; set; }
///
/// 确认邀请
/// 0 未确认邀请 1 已确认邀请
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int ConfirmTheInvitation { get; set; } = 0;
///
/// 邮件截图
///
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(500)")]
public string? ScreenshotOfMailUrl { get; set; }
///
/// 邮箱/微信
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
public string? EmailOrWeChat { get; set; }
///
/// 网址
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
public string? Website { get; set; }
///
/// 公务性质
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(250)")]
public string Nature { get; set; }
///
/// 资料Id
///
public int DataId { get; set; }
}
}