mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 13:03:43 +08:00
Add unit test
This commit is contained in:
56
Src/Asp.Net/SqliteTest/UnitTest/Models/ParkPartner.cs
Normal file
56
Src/Asp.Net/SqliteTest/UnitTest/Models/ParkPartner.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using SqlSugar;
|
||||
namespace WWB.Park.Entity.Tenant
|
||||
{
|
||||
|
||||
[SugarTable("pk_park_partner")]
|
||||
public class ParkPartner : AuditDeleteEntityBase<int>
|
||||
{
|
||||
/// <summary>
|
||||
/// 小区
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "park_id")]
|
||||
public long ParkId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分润方
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "agent_user_id")]
|
||||
public long AgentUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分润类型(1-比例)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "type")]
|
||||
public int Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 停车分润比例
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "month_parking_rate")]
|
||||
public int MonthParkingRate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 临停分润
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "temp_parking_rate")]
|
||||
public int TempParkingRate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 充电分润比例
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "month_charge_rate")]
|
||||
public int MonthChargeRate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 临充分润
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "temp_charge_rate")]
|
||||
public int TempChargeRate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "is_admin")]
|
||||
public int IsAdmin { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user