28 lines
		
	
	
		
			847 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			847 B
		
	
	
	
		
			C#
		
	
	
	
using Newtonsoft.Json;
 | 
						|
using SqlSugar;
 | 
						|
 | 
						|
namespace LY.App.Model
 | 
						|
{
 | 
						|
    public class AlarmRepDto
 | 
						|
    {
 | 
						|
        public string batchId { get; set; }
 | 
						|
        //非数据库字段
 | 
						|
        public DateTime startTime { get; set; }
 | 
						|
        //非数据库字段
 | 
						|
        public DateTime endTime { get; set; }
 | 
						|
        public double duration { get; set; }
 | 
						|
        public string model { get; set; }
 | 
						|
        public string sn { get; set; }
 | 
						|
        public double Frequency { get; set; }
 | 
						|
        //非数据库字段
 | 
						|
        public bool IsWhitelist { get; set; }
 | 
						|
        [SqlSugar.SugarColumn(IsIgnore = true)]
 | 
						|
        public string Whitelist { get; set; }
 | 
						|
        [JsonConverter(typeof(ValueToStringConverter))]
 | 
						|
        public long positionId { get; set; }
 | 
						|
        public string positionName { get; set; }
 | 
						|
 | 
						|
        //public long position_id { get; set; }
 | 
						|
    }
 | 
						|
}
 |