using System;
using System.Collections.Generic;
using Datory.Annotations;
using GxPress.Common.Tools;
namespace GxPress.Entity.WorkMeeting
{
///
/// 会议
///
[DataTable("tede_meeting")]
public class Meeting : Datory.Entity
{
///
/// 会议主题
///
[DataColumn]
public string Name { get; set; }
///
/// 会议地址Id
///
[DataColumn]
public int LocationId { get; set; }
///
/// 会议室Id
///
[DataColumn]
public int RoomId { get; set; }
[DataColumn]
public string OrderIdCollection { get; set; }
///
/// 会议地址Id
///
public IEnumerable OrderIds
{
get => StringUtils.StringCollectionToIntList(OrderIdCollection);
set => OrderIdCollection = string.Join(',', value);
}
///
/// 会议开始时间
///
[DataColumn]
public DateTime? StartDateTime { get; set; }
///
/// 会议结束时间
///
[DataColumn]
public DateTime? EndDateTime { get; set; }
///
/// 描述
///
[DataColumn]
public string Description { get; set; }
///
/// 发起人
///
[DataColumn]
public int UserId { get; set; }
///
///
///
///
[DataColumn]
public string FileIdCollection { get; set; }
///
/// 附件Id列表
///
public IEnumerable FileIds { get; set; }
///
///
///
///
[DataColumn]
public string UserIdCollection { get; set; }
///
/// 参会人Id列表
///
public IEnumerable UserIds
{
get => StringUtils.StringCollectionToIntList(UserIdCollection);
set => UserIdCollection = string.Join(',', value);
}
}
}