Customer.cs 928 B

12345678910111213141516171819202122232425262728293031323334
  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. public int? ARate { get; set; }
  24. public int? SRate { get; set; }
  25. [JsonIgnore]
  26. public virtual ICollection<PerformanceItem> PerformanceItems { get; set; } = new List<PerformanceItem>();
  27. }
  28. }