2025-11-07 10:26:59 +08:00
|
|
|
|
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>
|
2026-01-24 16:50:15 +08:00
|
|
|
|
public string SiteUserId { get; set; }
|
2025-11-07 10:26:59 +08:00
|
|
|
|
|
|
|
|
|
|
/// <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; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|