ptSysJob.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace wms.sqlsugar.model.pt
  6. {
  7. [Tenant("pt")]
  8. [SugarTable("sys_job", "定时任务表")]
  9. public class ptSysJob : BaseModel
  10. {
  11. [SugarColumn(ColumnName = "code", Length = 200)]
  12. public string Code { get; set; }
  13. [SugarColumn(ColumnName = "name", Length = 200)]
  14. public string Name { get; set; }
  15. [SugarColumn(ColumnName = "cron_expression", Length = 100)]
  16. public string CronExpression { get; set; }
  17. [SugarColumn(ColumnName = "trigger_description", Length = 100, IsNullable = true)]
  18. public string TriggerDescription { get; set; }
  19. [SugarColumn(ColumnName = "job_description", Length = 100, IsNullable = true)]
  20. public string JobDescription { get; set; }
  21. [SugarColumn(ColumnName = "job_group_name", Length = 200, IsNullable = true)]
  22. public string JobGroupName { get; set; }
  23. [SugarColumn(ColumnName = "job_type", Length = 100, IsNullable = true)]
  24. public string JobType { get; set; }
  25. [SugarColumn(ColumnName = "trigger_name", Length = 100, IsNullable = true)]
  26. public string TriggerName { get; set; }
  27. [SugarColumn(ColumnName = "trigger_group_name", Length = 100, IsNullable = true)]
  28. public string TriggerGroupName { get; set; }
  29. /// <summary>
  30. /// IsStop
  31. /// </summary>
  32. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  33. public int IsStop { get; set; }
  34. }
  35. }