using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CRM.Core.Model.Entity { [Table("Hg_Qw_Message")] public class Hg_Qw_Message { [Key] [Column(Order = 0)] public int id { get; set; } public int seq { get; set; } public string msgid { get; set; } public string msgtype { get; set; } public string action { get; set; } public string fromer { get; set; } public string tolist { get; set; } public string roomid { get; set; } public string ext { get; set; } public string content { get; set; } public string nfile { get; set; } public DateTime msgtime { get; set; } public DateTime ctime { get; set; } public int hgstatus { get; set; } public DateTime? hgtime { get; set; } public int issend { get; set; } public string kehuname { get; set; } public string cusname { get; set; } public string corpid { get; set; } public string word { get; set; } public string voiceUrl { get; set; } [Key] [Column(Order = 1)] public string detpcode { get; set; } public int iswg { get; set; } public int? eid { get; set; } [NotMapped] public string httpurl { get; set; } } }