2024-01-23 09:12:08 +08:00
|
|
|
|
using System;
|
2024-02-21 09:10:02 +08:00
|
|
|
|
using System.Collections.Generic;
|
2024-01-23 09:12:08 +08:00
|
|
|
|
|
|
|
|
|
namespace FrontendWebApi.Models
|
|
|
|
|
{
|
|
|
|
|
public class Bill
|
|
|
|
|
{
|
|
|
|
|
public class TenantList
|
|
|
|
|
{
|
|
|
|
|
public string tenant_guid { get; set; }
|
2024-01-26 11:35:13 +08:00
|
|
|
|
public string list_id { get; set; }
|
2024-01-23 09:12:08 +08:00
|
|
|
|
public string tenant_name { get; set; }
|
|
|
|
|
public decimal bill_perKWH { get; set; }
|
|
|
|
|
public decimal bill_perRCV { get; set; }
|
|
|
|
|
public string created_by { get; set; }
|
|
|
|
|
public DateTime created_at { get; set; }
|
|
|
|
|
public string updated_by { get; set; }
|
|
|
|
|
public DateTime? updated_at { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class TenantBill
|
|
|
|
|
{
|
2024-01-23 18:21:53 +08:00
|
|
|
|
public int bill_id { get; set; }
|
2024-01-23 09:12:08 +08:00
|
|
|
|
public string tenant_name { get; set; }
|
|
|
|
|
public string device_number { get; set; }
|
|
|
|
|
public string full_name { get; set; }
|
2024-01-23 18:21:53 +08:00
|
|
|
|
public string start_timestamp { get; set; }
|
|
|
|
|
public string end_timestamp { get; set; }
|
2024-01-23 09:12:08 +08:00
|
|
|
|
public string device_name_tag { get; set; }
|
|
|
|
|
public decimal result { get; set; }
|
|
|
|
|
public int bill { get; set; }
|
|
|
|
|
public string created_by { get; set; }
|
|
|
|
|
public DateTime created_at { get; set; }
|
|
|
|
|
public string updated_by { get; set; }
|
|
|
|
|
public DateTime? updated_at { get; set; }
|
|
|
|
|
public string tenant_guid { get; set; }
|
2024-01-23 14:41:38 +08:00
|
|
|
|
public string tableType { get; set; }
|
|
|
|
|
public string building_tag { get; set; }
|
2024-02-21 09:10:02 +08:00
|
|
|
|
public List<string> building_tag_list { get; set; }
|
|
|
|
|
|
2024-03-11 11:23:55 +08:00
|
|
|
|
public byte Deleted { get; set; }
|
2024-01-23 09:12:08 +08:00
|
|
|
|
}
|
2024-01-23 14:41:38 +08:00
|
|
|
|
|
2024-01-23 09:12:08 +08:00
|
|
|
|
public class OutputBill
|
|
|
|
|
{
|
|
|
|
|
public string tenant_name { get; set; }
|
2024-01-26 11:35:13 +08:00
|
|
|
|
public string device_name_tag { get; set; }
|
2024-01-23 18:21:53 +08:00
|
|
|
|
public string start_timestamp { get; set; }
|
|
|
|
|
public string end_timestamp { get; set; }
|
2024-01-26 11:35:13 +08:00
|
|
|
|
public decimal elec_result { get; set; }
|
|
|
|
|
public int elec_bill { get; set; }
|
|
|
|
|
public decimal water_result { get; set; }
|
|
|
|
|
public int water_bill { get; set; }
|
2024-01-23 09:12:08 +08:00
|
|
|
|
public decimal bill_perKWH { get; set; }
|
|
|
|
|
public decimal bill_perRCV { get; set; }
|
2024-01-26 11:35:13 +08:00
|
|
|
|
public int total_bill { get; set; }
|
2024-04-29 10:11:15 +08:00
|
|
|
|
public string tenant_guid { get; set; }
|
2024-01-23 09:12:08 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|