using System.ComponentModel; using DispenserCommon.Atrributes; using SQLite; namespace DispenserCore.Model.Entity; /// /// 系统参数 /// [Table("system_params")] [Description("系统参数")] public class SystemParams : Entity { [Column("device_type"), Description("设备类型")] public string? DeviceType { get; set; } [Column("version"), Description("版本号"), Property(IsReadOnly = true)] public string? Version { get; set; } [Column("name"), Description("名称")] public string? Name { get; set; } [Column("acs_ip"), Description("ACS 控制器IP")] public string AcsIp { get; set; } [Column("image_storage_path"), Description("照片存储路径")] public string? ImageStoragePath { get; set; } [Column("camera_viewer_storage_path"), Description("相机预览控件图片存储路径")] public string? CameraViewerStoragePath { get; set; } [Column("enable_auto_clear_image"), Description("是否自动清除历史照片")] public bool EnableAutoClearImage { get; set; } [Column("retained_day"), Description("照片保留天数")] public int RetainedDay { get; set; } }