12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Threading.Tasks;
- namespace IMCS.CCS.Entitys
- {
- [Table("ccs_equipment_monitor")]
- public class EquipmentMonitor
- {
- [Key]
- [Column("id")]
- [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
- public long Id { get; set; }
- /// <summary>
- /// ip
- /// </summary>
- [Column("ip")]
- [MaxLength(64)]
- public string IP { get; set; }
- [Column("name")]
- [MaxLength(64)]
- public string Name { get; set; }
- [Column("serial_no")]
- [MaxLength(64)]
- public string SerialNo { get; set; }
-
- [Column("type")]
- public string Type { get; set; }
-
- [Column("description")]
- public string Description { get; set; }
- [Column("address")]
- public string Address { get; set; }
- [Column("address2")]
- public string Address2 { get; set; }
- [Column("source")]
- public string Source { get; set; }
- [Column("status")]
- public string Status { get; set; }
- [Column("line")]
- public string Line { get; set; }
- [Column("location")]
- public string Location { get; set; }
- [Column("control_status")]
- public string ControlStatus { get; set; }
- }
- }
|