mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-19 14:39:33 +08:00
19 lines
506 B
C#
19 lines
506 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MongoDbTest
|
|
{
|
|
[SqlSugar.SugarTable("OrderDetail")]
|
|
public class OrderItem
|
|
{
|
|
[SqlSugar.SugarColumn(IsPrimaryKey =true, IsIdentity =true, ColumnName = "_Id")]
|
|
public int Id { get; set; }
|
|
public int OrderId { get; set; }
|
|
public decimal? Price { get; set; }
|
|
[SqlSugar.SugarColumn(IsNullable = true)]
|
|
public DateTime? CreateTime { get; set; }
|
|
}
|
|
}
|