CustomerBase.cs 874 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using FreeSql.DataAnnotations;
  3. namespace Pas.ScadaService.Model
  4. {
  5. public class CustomerBase
  6. {
  7. public DateTime CreateTime { get; set; }
  8. public string TagName { get; set; }
  9. public string Value { get; set; }
  10. public string GroupName { get; set; }
  11. [Column(CanInsert = false,CanUpdate = false)]
  12. public DateTime? DbDate { get; set; }
  13. public bool Visible { get; set; } = true;
  14. public string ProduceBatch { get; set; }
  15. public CustomerBase()
  16. {
  17. }
  18. public CustomerBase(string tagName, string value, string groupName, string produceBatch, DateTime cDateTime)
  19. {
  20. TagName = tagName;
  21. Value = value;
  22. GroupName = groupName;
  23. ProduceBatch = produceBatch;
  24. CreateTime = cDateTime;
  25. }
  26. }
  27. }