Infrastructure/OpenAuth.Repository/Domain/FireManagement/FmSiteUser.cs

60 lines
1.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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 string 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; }
}
}