Add AccessTest

This commit is contained in:
sunkaixuan
2022-02-20 14:13:19 +08:00
parent d063e33487
commit 56571c99d5
39 changed files with 3271 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
[SqlSugar.SugarTable("OrderDetail")]
public class OrderItem
{
[SqlSugar.SugarColumn(IsPrimaryKey =true, IsIdentity =true)]
public int ItemId { get; set; }
public int OrderId { get; set; }
public decimal? Price { get; set; }
[SqlSugar.SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
[SqlSugar.SugarColumn(IsIgnore = true)]
public string OrderName { get; set; }
}
}