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