using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CRM.Core.Model.Entity { public class Hg_Wx_Message { [Key] [Column(Order = 0)] public int id { get; set; } public int pkid { get; set; } public string msgsvrid { get; set; } public int msgtype { get; set; } public int issend { get; set; } public string talker { get; set; } public string username { get; set; } public string nickname { get; set; } public string msgcontent { get; set; } public string imgpath { get; set; } public string voiceUrl { get; set; } public DateTime ctime { get; set; } public int hgstatus { get; set; } public DateTime? hgtime { get; set; } public int iswg { get; set; } public string kefuname { get; set; } public string word { get; set; } public int eid { get; set; } [Key] [Column(Order = 1)] public string detpcode { get; set; } } }