2026-06-04 15:54:30 +08:00
|
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-04 15:54:30 +08:00
|
|
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
|
{
|
|
|
|
|
|
///<summary>
|
|
|
|
|
|
///用户与期刊关联表
|
|
|
|
|
|
///</summary>
|
2026-07-08 10:37:03 +08:00
|
|
|
|
[SugarTable("User_Journal")]
|
2026-06-04 15:54:30 +08:00
|
|
|
|
public partial class UserJournal : SqlSugarBaseEntity
|
|
|
|
|
|
{
|
|
|
|
|
|
public UserJournal()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:用户Id
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "UserId")]
|
2026-07-01 17:05:38 +08:00
|
|
|
|
public long? UserId { get; set; }
|
2026-06-04 15:54:30 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:期刊模板Id(对应Journal表的期刊定义)
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "JournalId")]
|
|
|
|
|
|
public long JournalId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-07-01 17:59:35 +08:00
|
|
|
|
/// Desc:关联类型: 默认0
|
2026-06-04 15:54:30 +08:00
|
|
|
|
/// Nullable:False
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "Type")]
|
2026-07-01 17:59:35 +08:00
|
|
|
|
public int Type { get; set; } = 0;
|
2026-06-04 15:54:30 +08:00
|
|
|
|
|
2026-07-01 17:59:35 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Desc:二维码地址
|
|
|
|
|
|
/// Default:
|
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "QrCodeUrl")]
|
|
|
|
|
|
public string? QrCodeUrl { get; set; }
|
2026-06-04 15:54:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|