using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YBDevice.Entity
{
///
/// 设备分配记录
///
[SugarTable("YB_DeviceAlloc", TableDescription = "设备分配记录", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_DeviceAlloc
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true)]
public Guid Id { get; set; }
///
/// 设备ID
///
[SugarColumn(ColumnDescription = "设备ID", IndexGroupNameList = new string[] { "index_equid" })]
public int EquId { get; set; }
///
/// 分配人
///
[SugarColumn(ColumnDescription = "分配人", IndexGroupNameList = new string[] { "index_frombusinessid" })]
public int FromBusinessId { get; set; }
///
/// 接收人
///
[SugarColumn(ColumnDescription = "接收人", IndexGroupNameList = new string[] { "index_tobusinessid" })]
public int ToBusinessId { get; set; }
///
/// 类型,1-出货,2-分配,3-回收,4-激活
///
[SugarColumn(ColumnDescription = "类型,1-出货,2-分配,3-回收,4-激活")]
public DeviceAllocType Type { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnDescription = "创建时间")]
public DateTime CreateTime { get; set; }
}
}