using LearningOfficer.OA.Core.Entities; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; namespace LearningOfficer.OA.Core.Entities.OA.UserPoints { /// /// 用户积分信息-如果用户在该表不存在,则第一次就需要新增一条数据 /// [SugarTable("points_user_info")] public class PointsUserInfo : BaseEntity { /// /// 备 注:用户id /// 默认值: /// [SugarColumn(ColumnName="userid" ) ] public long? Userid { get; set; } /// /// 备 注:总积分(只增不减) /// 默认值: /// [SugarColumn(ColumnName="total_points" ) ] public int? TotalPoints { get; set; } /// /// 备 注:可用积分 /// 默认值: /// [SugarColumn(ColumnName="available_points" ) ] public int? AvailablePoints { get; set; } /// /// 备 注:最后更新时间 /// 默认值: /// [SugarColumn(ColumnName="last_updated_time" ) ] public DateTime? LastUpdatedTime { get; set; } } }