1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using SQLite;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FLY.Weight2.Server.Model
{
/// <summary>
/// 流量表
/// </summary>
[Table("Flow")]
public class Db_Flow: IDbBase
{
[Key]
[Index]
[PropertyIndex(0)]
public Int64 ID { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Index]
[Time]
[PropertyIndex(1)]
public DateTime Time { get; set; }
/// <summary>
/// 总流量
/// </summary>
[PropertyIndex(2)]
public double Total { get; set; }
/// <summary>
/// 各上料流量 List of FlyData_FlowItem
/// </summary>
[PropertyIndex(3)]
public string Items { get; set; }
}
}