SqlSugar/Src/Asp.NetCore2/ClickHouseTest/Models/OrderItem.cs

19 lines
470 B
C#
Raw Normal View History

2022-08-12 20:56:36 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
[SqlSugar.SugarTable("OrderDetail")]
public class OrderItem
{
2022-08-13 16:03:42 +08:00
[SqlSugar.SugarColumn(IsPrimaryKey =true)]
public long ItemId { get; set; }
public long OrderId { get; set; }
2022-08-12 20:56:36 +08:00
public decimal? Price { get; set; }
[SqlSugar.SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
}
}