2023-07-19 19:51:39 +08:00
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OrmTest
|
|
|
|
|
{
|
2024-05-11 10:54:01 +08:00
|
|
|
|
|
2024-05-18 14:26:33 +08:00
|
|
|
|
public class OrderTest
|
2023-07-19 19:51:39 +08:00
|
|
|
|
{
|
2024-05-18 14:26:33 +08:00
|
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
|
|
public long Id { get; set; }
|
2023-07-19 19:51:39 +08:00
|
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public decimal Price { get; set; }
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
[SugarColumn(IsNullable =true)]
|
2024-05-11 10:54:01 +08:00
|
|
|
|
public int CustomId { get; set; }
|
2023-07-19 19:51:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|