using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; namespace ServicesDAO.models { [Table("product_type")] public class ProductType { [Key] [Column("id")] public int Id { get; set; } [Required] [Column("product_name")] [StringLength(50)] public string ProductName { get; set; } [Column("product_dsc")] [StringLength(255)] public string? ProductDsc { get; set; } [Required] [Column("is_available")] public bool IsAvailable { get; set; } [Column("steps")] [StringLength(100)] public string? Steps { get; set; } [Column("identification_key")] [StringLength(45)] public string? IdentificationKey { get; set; } } }