添加项目文件。

This commit is contained in:
2026-10-12 16:22:04 +08:00
parent 7c68a0ca0a
commit aad11be43d
1000 changed files with 120807 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
using Common.Utils;
using MongoDB.Bson.Serialization.Attributes;
using MongoRepository;
using MongoRepository.Attributes;
using MongoRepository.Config;
using UserDomain.Enum;
namespace UserDomain.Entity
{
[BsonCollection("user_reward", ServiceDatabases.User)]
[BsonIgnoreExtraElements]
public class UserReward : MongoBaseEntity
{
public string UserId { get; set; }
public int Type { get; set; }
public RewardSource Source { get; set; }
public int CurrencyType { get; set; }
public long BeforeCount { get; set; }
public long ChangeCount { get; set; }
public long AfterCount { get; set; }
public string OtherId { get; set; }=string.Empty;
public string OtherUserId { get; set; } = string.Empty;
public string Remark { get; set; } = string.Empty;
public string RoomName { get; set; } = string.Empty;
public string RoomInfo { get; set; } = string.Empty;
public int Tax { get; set; }=0;
public long CreateTime { get; set; }=DateTime.Now.ToTimeStamp();
}
}