Ignore:
Timestamp:
08/14/24 16:27:55 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
ae6c071
Parents:
784b3ad
Message:

Update with triggers

Location:
PostgreSqlDotnetCore/Models
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Models/ProductsClass.cs

    r784b3ad r2639fab  
    1919        public string price { get; set; }
    2020        public bool isactive { get; set; }
    21         public DateTime dateadded { get; set; }
     21        //public DateTime dateadded { get; set; }
     22
     23        public DateOnly dateadded { get; set; } = DateOnly.FromDateTime(DateTime.UtcNow);
    2224        public string category { get; set; }
    23        
     25
     26        public int  available_quantity { get; set; }
     27
    2428
    2529    }
  • PostgreSqlDotnetCore/Models/VetCenter.cs

    r784b3ad r2639fab  
    2424        public float longitude { get; set; }
    2525        public string phonenumber { get; set; }
     26       // [ForeignKey("CitiesClass")]
    2627        public int citiesid { get; set; }
     28       // public CitiesClass CitiesClass { get; set; }
    2729
    2830
Note: See TracChangeset for help on using the changeset viewer.