using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model { public class Eqp_Import_Info : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 省code /// public string province { get; set; } = ""; /// /// 市code /// public string city { get; set; } = ""; /// /// 项目id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string projectid { get; set; } /// /// 项目类型id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string protypeid { get; set; } /// /// 楼id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string buildid { get; set; } /// /// 文件名字 /// public string filename { get; set; } /// /// 文件大小 /// public long filesize { get; set; } /// /// 文件地址 /// public string fileurl { get; set; } /// /// 文件类型 /// public string fileext { get; set; } /// /// 文件md5 /// public string filemd5 { get; set; } /// /// 添加人 /// public string createby { get; set; } /// /// 添加时间 /// public DateTime createtime { get; set; } = DateTime.Now; /// /// 是否删除(0正常1删除) /// public int isdelete { get; set; } = 0; /// /// 删除人 /// public string deleteby { get; set; } /// /// 删除日期 /// public DateTime? deletetime { get; set; } } }