ibms-dome/FrontendWebApi/Models/Bill.cs

55 lines
1.9 KiB
C#
Raw Normal View History

2024-01-23 09:12:08 +08:00
using System;
namespace FrontendWebApi.Models
{
public class Bill
{
public class TenantList
{
public string tenant_guid { get; set; }
public int tenant_id { get; set; }
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
{
public int tenant_id { get; set; }
public string tenant_name { get; set; }
public string device_number { get; set; }
public string full_name { get; set; }
public DateTime start_timestamp { get; set; }
public DateTime end_timestamp { get; set; }
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; }
}
public class OutputBill
{
public string tenant_name { get; set; }
public DateTime start_timestamp { get; set; }
public DateTime end_timestamp { get; set; }
public decimal kwh_total { get; set; }
public decimal bill_perKWH { get; set; }
public int electric_total { get; set; }
public decimal rcv_total { get; set; }
public decimal bill_perRCV { get; set; }
public int water_total { get; set; }
public int all_total { get; set; }
}
}
}