using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using Yitter.IdGenerator;
namespace WGShare.Domain.Entities
{
///
/// 会议室房间表
///
[SugarTable("room")]
public class Room
{
///
///
///
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
public string Id { get; set; } = YitIdHelper.NextId().ToString();
///
/// 是否删除
/// 默认值: b'0'
///
[SugarColumn(ColumnName = "is_delete")]
public bool IsDelete { get; set; }
///
/// 创建时间
/// 默认值: CURRENT_TIMESTAMP
///
[SugarColumn(ColumnName = "create_time", IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
public DateTime CreateTime { get; set; }
///
/// 修改时间
///
[SugarColumn(ColumnName = "modify_time", IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
public DateTime ModifyTime { get; set; }
///
/// 会议室名称
///
[SugarColumn(ColumnName = "room_name")]
public string RoomName { get; set; }
///
/// 租户id
///
[SugarColumn(ColumnName = "tenant_id")]
public string TenantId { get; set; }
///
/// 会议号
///
[SugarColumn(ColumnName = "room_num")]
public string RoomNum { get; set; }
}
}