123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
-
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using WCS.Utils;
- namespace WCS.Entitys
- {
- [Table("wcs_action_address")]
- public class WcsActionAddress
- {
- [Key]
- [Column("id")]
- [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
- public int Id { get; set; }
- [Column("action_id")]
- public int ActionId { get; set; }
- [Column("type")]
- public string? Type { get; set; }
- [Column("address")]
- public string? Address { get; set; }
- [Column("value")]
- public string? Value { get; set; }
-
- [Column("check_type")]
- public bool CheckType { get; set; }
-
- [Column("sort")]
- public int Sort { get; set; }
-
- }
- public enum ActionAddressTypeEnum
- {
- [EnumDescription("写入")]
- WRITE,
- [EnumDescription("写入校验下一个是否条件写入")]
- WRITE_CHECK,
- [EnumDescription("校验")]
- CHECK,
- [EnumDescription("回调")]
- CALLBACK,
- [EnumDescription("失败回调")]
- CALLBACK_FAIL,
- [EnumDescription("回调复位")]
- RESET,
- [EnumDescription("校验写入是否成功")]
- CHECK_SUCESS,
- }
- }
|