FlTeamMemberScopeDbEntity.cs
892 Bytes
using SqlSugar;
using Yi.Framework.SqlSugarCore.Abstractions;
namespace FoodLabeling.Application.Services.DbModels;
/// <summary>
/// Team Member 适用范围维度(Region/Location 的 ALL/SPECIFIED),与 userlocation 快照配合回显。
/// </summary>
[IgnoreCodeFirst]
[SugarTable("fl_team_member_scope")]
public class FlTeamMemberScopeDbEntity
{
[SugarColumn(IsPrimaryKey = true, Length = 36)]
public string UserId { get; set; } = string.Empty;
/// <summary>适用 Region:ALL / SPECIFIED</summary>
[SugarColumn(Length = 20)]
public string AppliedRegionType { get; set; } = "SPECIFIED";
/// <summary>适用 Location:ALL / SPECIFIED</summary>
[SugarColumn(Length = 20)]
public string AppliedLocationType { get; set; } = "SPECIFIED";
public DateTime? CreationTime { get; set; }
public DateTime? LastModificationTime { get; set; }
}