namespace Warehouse.Models.mesMysqlModel { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("js_mes.df_eqp_info")] public partial class df_eqp_info { [Key] [Column(Order = 0)] [StringLength(20)] public string line_id { get; set; } [Key] [Column(Order = 1)] [StringLength(20)] public string machine_id { get; set; } [Required] [StringLength(20)] public string workshop { get; set; } [Required] [StringLength(50)] public string machine_name { get; set; } [StringLength(45)] public string manufacturer { get; set; } [StringLength(20)] public string machine_type { get; set; } [Required] [StringLength(10)] public string actived { get; set; } [Required] [StringLength(45)] public string worksite_id { get; set; } [StringLength(100)] public string remark { get; set; } [Column("operator")] [Required] [StringLength(45)] public string _operator { get; set; } public DateTime op_time { get; set; } public int? Status { get; set; } public int? EqpType { get; set; } public int? DeptID { get; set; } public int? Cycle { get; set; } public DateTime? LastMaintainTime { get; set; } public DateTime? NextMaintainTime { get; set; } public decimal? Price { get; set; } [StringLength(45)] public string Charger { get; set; } public DateTime? StartDate { get; set; } public DateTime? EndDate { get; set; } } }