添加项目文件。
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoRepository;
|
||||
using MongoRepository.Attributes;
|
||||
using MongoRepository.Config;
|
||||
|
||||
namespace UserDomain.Entity
|
||||
{
|
||||
[BsonCollection("notice", ServiceDatabases.User)]
|
||||
[BsonIgnoreExtraElements]
|
||||
public class Notice : MongoBaseEntity
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Content { get; set; }
|
||||
|
||||
public string Recommend { get; set; }
|
||||
public string TopImage { get; set; }
|
||||
public List<string> ContentImages { get; set; }
|
||||
public long CreateTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user