DailypaymentView.cs 837 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.Statistics
  7. {
  8. public class DailypaymentView
  9. {
  10. }
  11. [SqlSugar.SugarTable("Sys_SetDataType")]
  12. public class DailypaymentParentTypeView
  13. {
  14. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  15. public int Id { get; set; }
  16. public string Name { get; set; }
  17. [Navigate(NavigateType.OneToOne, nameof(Id))]//一对一 SchoolId是StudentA类里面的
  18. public List<DailypaymentSubTypeView> SubData { get; set; }
  19. }
  20. [SqlSugar.SugarTable("Sys_SetData")]
  21. public class DailypaymentSubTypeView
  22. {
  23. public int Id { get; set; }
  24. public int STid { get; set; }
  25. public string Name { get; set; }
  26. }
  27. }