| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System;
- using dodohold.core;
- namespace molilian.core
- {
- [Table("track_links")]
- public class TrackLinkDTO
- {
- [Key]
- public int id { get; set; }
- public string event_type { get; set; } = string.Empty;
- public string platform { get; set; } = string.Empty;
- public string typename
- {
- get => platform;
- set => platform = value;
- }
- public string scene { get; set; } = string.Empty;
- public string unique_id { get; set; } = string.Empty;
- public string path { get; set; } = string.Empty;
- public string description { get; set; } = string.Empty;
- public DateTime create_time { get; set; } = DateTime.Now;
- public DateTime update_time { get; set; } = DateTime.Now;
- }
- [Table("track_daily_report")]
- public class TrackDailyReportDTO
- {
- [Key]
- public int id { get; set; }
- public DateTime report_date { get; set; } = DateTime.Now.Date;
- public string event_type { get; set; } = string.Empty;
- public string platform { get; set; } = string.Empty;
- public string scene { get; set; } = string.Empty;
- public string unique_id { get; set; } = string.Empty;
- public int track_link_id { get; set; } = 0;
- public int event_count { get; set; } = 0;
- public DateTime create_time { get; set; } = DateTime.Now;
- public DateTime update_time { get; set; } = DateTime.Now;
- }
- }
|