12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using WCS.Utils;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
-
- namespace WCS.Entitys
- {
- [Table("wcs_action")]
- public class WcsAction
- {
- [Key]
- [Column("id")]
- [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
- public int Id { get; set; }
- [Column("protocol_type")]
- public string? ProtocolType { get; set; }
- [Column("ip")]
- public string? Ip { get; set; }
- [Column("operate_type")]
- public string? OperateType { get; set; }
- [Column("operate_name")]
- public string? OperateName { get; set; }
- [Column("file_path")]
- public string? FilePath { get; set; }
- [Column("plc_ip")]
- public string? PlcIp { get; set; }
- [Column("order_index")]
- public string? OrderIndex { get; set; }
- [Column("description")]
- public string? Description { get; set; }
- }
- public enum WcsActionType
- {
- [EnumDescription("取托盘")]
- Get,
- [EnumDescription("放托盘")]
- Send
- }
- }
|