change app directory

This commit is contained in:
2023-07-19 21:01:19 +08:00
parent 8b759c94ec
commit 02ac33fc07
56 changed files with 781 additions and 535 deletions

View File

@@ -0,0 +1,38 @@
using SQLite;
namespace Blahblah.FlowerApp.Data.Model;
public class RecordItem
{
[Column("rid"), PrimaryKey, NotNull]
public int Id { get; set; }
[Column("uid"), NotNull]
public int OwnerId { get; set; }
[Column("fid"), NotNull]
public int FlowerId { get; set; }
[Column("event"), NotNull]
public int EventType { get; set; }
[Column("date"), NotNull]
public long DateUnixTime { get; set; }
public DateTimeOffset Date => DateTimeOffset.FromUnixTimeMilliseconds(DateUnixTime);
[Column("byuid")]
public int? ByUserId { get; set; }
[Column("byname")]
public string? ByUserName { get; set; }
[Column("memo")]
public string? Memo { get; set; }
[Column("latitude")]
public double? Latitude { get; set; }
[Column("longitude")]
public double? Longitude { get; set; }
}