mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-07 18:04:55 +08:00
Add CSharpTypeName to ConditionalModel
This commit is contained in:
18
Src/Asp.Net/SqlServerTest/UnitTest/Models/Order.cs
Normal file
18
Src/Asp.Net/SqlServerTest/UnitTest/Models/Order.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrmTest.UnitTest.Models
|
||||
{
|
||||
[SqlSugar.SugarTable("UnitMyOrder")]
|
||||
public class MYOrder
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
[SqlSugar.SugarColumn(Length = 18, DecimalDigits = 4)]
|
||||
public decimal Price { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user