41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
|
|
using SqlSugar;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace YBDevice.Entity
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户使用过的设备类型
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("YB_UserEqu", TableDescription = "用户使用过的设备类型", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
|
|||
|
|
public class YB_UserEqu
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 主键
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|||
|
|
public Guid Id { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 设备类型
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnDescription = "设备类型", IndexGroupNameList = new string[] { "index_devtype" })]
|
|||
|
|
public int DevType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnDescription = "用户ID", IndexGroupNameList = new string[] { "index_userid" })]
|
|||
|
|
public int UserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnDescription = "创建时间")]
|
|||
|
|
public DateTime CreateTime { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|