28 lines
703 B
C#
28 lines
703 B
C#
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; }
|
|
|
|
|
|
}
|
|
}
|