52 lines
1.1 KiB
C#
52 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
|
|
namespace LearningOfficer.OA.Core.Entities.OA.UserPoints
|
|
{
|
|
/// <summary>
|
|
/// 积分规则表
|
|
///</summary>
|
|
[SugarTable("points_rules")]
|
|
public class PointsRules : BaseEntity
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:积分规则名称
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "rules_name" )]
|
|
public string RulesName { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:分值(可正可负)
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "score" )]
|
|
public int Score { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:添加时间
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "add_time" )]
|
|
public DateTime AddTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:添加人
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "add_userid" )]
|
|
public long AddUserid { get; set; }
|
|
|
|
|
|
}
|
|
|
|
} |