69 lines
2.5 KiB
C#
69 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace FrontendWebApi.Models
|
|
{
|
|
public class Bill
|
|
{
|
|
public class TenantList
|
|
{
|
|
public string tenant_guid { get; set; }
|
|
public string list_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 bill_id { get; set; }
|
|
public string tenant_name { get; set; }
|
|
public string device_number { get; set; }
|
|
public string full_name { get; set; }
|
|
public string start_timestamp { get; set; }
|
|
public string end_timestamp { get; set; }
|
|
public string device_name_tag { get; set; }
|
|
public decimal result { get; set; }
|
|
public decimal 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 string tableType { get; set; }
|
|
public string building_tag { get; set; }
|
|
public List<string> building_tag_list { get; set; }
|
|
|
|
public byte Deleted { get; set; }
|
|
}
|
|
|
|
public class OutputBill
|
|
{
|
|
public string tenant_name { get; set; }
|
|
public string device_name_tag { get; set; }
|
|
public string start_timestamp { get; set; }
|
|
public string end_timestamp { get; set; }
|
|
public decimal elec_result { get; set; }
|
|
public decimal elec_bill { get; set; }
|
|
public decimal water_result { get; set; }
|
|
public decimal water_bill { get; set; }
|
|
public decimal bill_perKWH { get; set; }
|
|
public decimal bill_perRCV { get; set; }
|
|
public decimal total_bill { get; set; }
|
|
public string tenant_guid { get; set; }
|
|
|
|
}
|
|
public class OutputBillExcel : TenantBill
|
|
{
|
|
public DateTime date { get; set; }
|
|
public string bill_per { get; set; }
|
|
public decimal sub_result { get; set; }
|
|
public decimal total_bill { get; set; }
|
|
}
|
|
}
|
|
} |