sqlsugar/Src/Asp.NetCore2/OceanBaseForOracleTest/Order.cs

23 lines
506 B
C#
Raw Permalink Normal View History

2025-05-11 16:20:50 +08:00
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class OrderTest
{
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime CreateTime { get; set; }
[SugarColumn(IsNullable =true)]
public int CustomId { get; set; }
}
}