Grp_Ommission.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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.Entities.Groups
  7. {
  8. /// <summary>
  9. /// 提成表
  10. /// </summary>
  11. [SugarTable("Grp_Ommission")]
  12. public class Grp_Ommission:EntityBase
  13. {
  14. /// <summary>
  15. /// 员工ID
  16. /// </summary>
  17. [SugarColumn(IsNullable =true,ColumnDataType ="int")]
  18. public int Personnel { get; set; }
  19. /// <summary>
  20. /// 团组ID
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  23. public int Diid { get; set; }
  24. /// <summary>
  25. /// 团组结束时间,即团组最后一天
  26. /// </summary>
  27. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  28. public string GroupDate { get; set; }
  29. /// <summary>
  30. /// 团组级别
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  33. public string GroupLvl { get; set; }
  34. /// <summary>
  35. /// 提成明细
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(300)")]
  38. public string Detail { get; set; }
  39. /// <summary>
  40. /// 提成金额
  41. /// </summary>
  42. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(18,2)")]
  43. public decimal Money { get; set; }
  44. /// <summary>
  45. /// 提成发放至工资的月份
  46. /// </summary>
  47. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  48. public string WageYearMonth { get; set; }
  49. /// <summary>
  50. /// 造成损失标识
  51. /// 0=未造成
  52. /// 1=造成
  53. /// </summary>
  54. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  55. public int IsMakeLoss { get; set; }
  56. /// <summary>
  57. /// 亏损或无利润团组
  58. /// 0=未亏损
  59. /// 1=亏损
  60. /// </summary>
  61. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  62. public int IsLoss { get; set; }
  63. }
  64. }