60 lines
1.5 KiB
C#
60 lines
1.5 KiB
C#
using SqlSugar;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace OpenAuth.Repository.Domain.FireManagement
|
||
{
|
||
/// <summary>
|
||
/// 用户站点关联表
|
||
/// </summary>
|
||
[SugarTable("fm_siteuser")]
|
||
public class FmSiteUser
|
||
{
|
||
/// <summary>
|
||
/// Desc:流水号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
[SugarColumn(IsPrimaryKey = true)]
|
||
public long Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// Desc:站点id
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public long SiteId { get; set; }
|
||
|
||
/// <summary>
|
||
/// Desc:站点管理员或接收人ID
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public long SiteUserId { get; set; }
|
||
|
||
/// <summary>
|
||
/// Desc:人员角色(1-管理员,2-消息接受者)
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int UserRole { get; set; }
|
||
/// <summary>
|
||
/// Desc:用户姓名
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
[SugarColumn(IsIgnore = true)]
|
||
public string Name { get; set; }
|
||
/// <summary>
|
||
/// Desc:手机号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
[SugarColumn(IsIgnore = true)]
|
||
public string Phone { get; set; }
|
||
}
|
||
}
|