24 lines
513 B
C#
24 lines
513 B
C#
using System;
|
|
|
|
namespace ShardingCoreBenchmark5x
|
|
{
|
|
internal class Order
|
|
{
|
|
public string Id { get; set; }
|
|
public long Amount { get; set; }
|
|
public string Body { get; set; }
|
|
public DateTime CreateTime { get; set; }
|
|
public string Remark { get; set; }
|
|
public string Payer { get; set; }
|
|
|
|
public OrderStatusEnum OrderStatus { get; set; }
|
|
}
|
|
|
|
public enum OrderStatusEnum
|
|
{
|
|
NotPay=1,
|
|
Succeed=1<<1,
|
|
Failed=1<<2,
|
|
}
|
|
}
|