Customer.cs 846 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Text.Json.Serialization;
  7. using System.Threading.Tasks;
  8. namespace wispro.sp.entity
  9. {
  10. public partial class Customer
  11. {
  12. public Customer()
  13. {
  14. PerformanceItems = new HashSet<PerformanceItem>();
  15. }
  16. public int Id { get; set; }
  17. public string Name { get; set; }
  18. public string ContactMan { get; set; }
  19. public string Address { get; set; }
  20. public string Phone { get; set; }
  21. public int? ResponseManId { get; set; }
  22. public virtual Staff ResponseMan { get; set; }
  23. [JsonIgnore]
  24. public virtual ICollection<PerformanceItem> PerformanceItems { get; set; } = new List<PerformanceItem>();
  25. }
  26. }