添加项目文件。
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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("order", ServiceDatabases.User)]
|
||||
[BsonIgnoreExtraElements]
|
||||
public class Order : MongoBaseEntity
|
||||
{
|
||||
public string UserId { get; set; } = "";
|
||||
|
||||
public int Type { get; set; }
|
||||
|
||||
public string ProductId { get; set; } = "";
|
||||
|
||||
public string ProductName { get; set; } = "";
|
||||
|
||||
|
||||
|
||||
public double Price { get; set; }
|
||||
|
||||
|
||||
public int State { get; set; } = 1;
|
||||
|
||||
public long PayTime { get; set; } = 0;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user