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

File:
1 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    }
Note: See TracChangeset for help on using the changeset viewer.