using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; namespace EventConsole.Dto { public class EventDto { public string data { get; set; } public string tableName { get; set; } } public class EventDataDto { public string act_date { get; set; } public long act_time { get; set; } public string appid { get; set; } public string appuserid { get; set; } public int channel { get; set; } public int customerid { get; set; } public int deptid { get; set; } public string insert_date { get; set; } public long insert_time { get; set; } public string ip { get; set; } public string resid { get; set; } public string scene_id { get; set; } public string scene_name { get; set; } public int scene_type_id { get; set; } public string scene_type_name { get; set; } public string sinkClickhouseTable { get; set; } public string source_table { get; set; } public int uid { get; set; } public string unionid { get; set; } public int user_type { get; set; } public int with_centerid { get; set; } public int with_deptid { get; set; } public int with_eid { get; set; } public int with_groupid { get; set; } public int with_orgid { get; set; } } public enum EventType { //访问 act_soft_visit, //浏览 act_soft_view, //绑定手机号码 act_soft_bind_mobile, //注册 act_soft_reg, //登录 act_soft_login, //关注公众号 act_offiaccount_join, //取关公众号 act_offiaccount_remove, //加好友 act_wework_join, //删除好友 act_wework_remove, //企业微信直播 act_wework_live, //直播互动 act_schedule_live, //付款 act_soft_pay } [Table("UPDEV.CSVR_TODOITEM")] public partial class CSVR_TODOITEM { [Key] public decimal PKID { get; set; } public decimal SENDEDUSERID { get; set; } public decimal RECEIVEDUSERID { get; set; } public short ISPRIVATE { get; set; } [StringLength(100)] public string RESID { get; set; } [StringLength(500)] public string MEMO { get; set; } public DateTime? STARTTIME { get; set; } public decimal? DOSTATUS { get; set; } [StringLength(500)] public string DOREMARK { get; set; } public DateTime? DOTIME { get; set; } public decimal? DOUSERID { get; set; } public DateTime? CTIME { get; set; } public string URL { get; set; } public string URLTITLE { get; set; } public string RESOURCETAG { get; set; } public string REMARK { get; set; } } }