User.cs 375 B

12345678910111213141516171819
  1. using SqlSugar;
  2. namespace Uninpho.DBOperation.Model
  3. {
  4. public class User
  5. {
  6. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  7. public int Id { get; set; }
  8. public string Name { get; set; }
  9. public decimal Price { get; set; }
  10. [SugarColumn(IsNullable = true)]
  11. public int CustomId { get; set; }
  12. }
  13. }