You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
580 B
21 lines
580 B
3 years ago
|
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; }
|
||
|
}
|
||
|
}
|