2024-05-16 13:30:30 +08:00
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
2024-07-01 16:04:10 +08:00
|
|
|
|
namespace DOAN.Model.System
|
2024-05-16 13:30:30 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 用户岗位
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("sys_user_post", "用户与岗位关联表")]
|
|
|
|
|
|
[Tenant("0")]
|
|
|
|
|
|
public class SysUserPost
|
|
|
|
|
|
{
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, ExtendedAttribute = ProteryConstant.NOTNULL)]
|
|
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, ExtendedAttribute = ProteryConstant.NOTNULL)]
|
|
|
|
|
|
public long PostId { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|