2019-05-05 16:12:29 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OrmTest
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public class Order
|
|
|
|
|
{
|
|
|
|
|
[SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public decimal Price { get; set; }
|
2019-05-09 17:55:11 +08:00
|
|
|
|
[SqlSugar.SugarColumn(IsNullable = true)]
|
2019-05-05 16:12:29 +08:00
|
|
|
|
public DateTime CreateTime { get; set; }
|
2019-05-09 17:55:11 +08:00
|
|
|
|
[SqlSugar.SugarColumn(IsNullable =true)]
|
|
|
|
|
public int CustomId { get; set; }
|
2019-05-05 16:12:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|