SqlSugar源码
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.

25 lines
620 B

6 years ago
using SqlSugar;
using System;
6 years ago
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class Order
{
6 years ago
[SugarColumn(IsPrimaryKey = true, OracleSequenceName ="Seq_Id")]
6 years ago
public int Id { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
6 years ago
[SugarColumn(IsNullable = true)]
6 years ago
public DateTime CreateTime { get; set; }
6 years ago
[SugarColumn(IsNullable =true)]
6 years ago
public int CustomId { get; set; }
6 years ago
[SugarColumn(IsIgnore = true)]
public List<OrderItem> Items { get; set; }
6 years ago
}
}