添加项目文件。

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
@@ -0,0 +1,50 @@
using AdminDomain.BeautifulNumber;
using Common.Utils;
using MongoDB.Bson.Serialization.Attributes;
using MongoRepository;
using MongoRepository.Attributes;
using MongoRepository.Config;
namespace AdminDomain.Entity
{
[BsonCollection("beautiful_number_config", ServiceDatabases.Admin)]
[BsonIgnoreExtraElements]
public class BeautifulNumberConfig : MongoBaseEntity
{
public string Number { get; set; }
public string RuleName { get; set; }
public string Level { get; set; }
public long Price { get; set; }
public BeautifulNumberStatus Status { get; set; }= BeautifulNumberStatus.Available;
public long SaleTime { get; set; } = 0;
public string BuyerUserId { get; set; }
public string UserId { get; set; }
public string Remark { get; set; }
public long CreateTime { get; set; } = DateTime.Now.ToTimeStamp();
}
[BsonCollection("beautiful_number_rule", ServiceDatabases.Admin)]
[BsonIgnoreExtraElements]
public class BeautifulNumberRule : MongoBaseEntity
{
public string RuleName { get; set; }
public string Level { get; set; }
public long Price { get; set; }
public int Sort { get; set; }
public bool IsEnable { get; set; } = true;
}
}