Crrocted the typo in SubScription Plans
This commit is contained in:
parent
53a2c5d87c
commit
c708fa1ea1
3872
Marco.Pms.DataAccess/Migrations/20250804064532_Corrected_Typo_In_SubscriptionPlan_Table.Designer.cs
generated
Normal file
3872
Marco.Pms.DataAccess/Migrations/20250804064532_Corrected_Typo_In_SubscriptionPlan_Table.Designer.cs
generated
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Marco.Pms.DataAccess.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Corrected_Typo_In_SubscriptionPlan_Table : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "PriceHalfMonthly",
|
||||
table: "SubscriptionPlans",
|
||||
newName: "PriceHalfYearly");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "PriceHalfYearly",
|
||||
table: "SubscriptionPlans",
|
||||
newName: "PriceHalfMonthly");
|
||||
}
|
||||
}
|
||||
}
|
@ -2551,7 +2551,7 @@ namespace Marco.Pms.DataAccess.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<double>("PriceHalfMonthly")
|
||||
b.Property<double>("PriceHalfYearly")
|
||||
.HasColumnType("double");
|
||||
|
||||
b.Property<double>("PriceMonthly")
|
||||
|
@ -12,7 +12,7 @@ namespace Marco.Pms.Model.TenantModels
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public double PriceQuarterly { get; set; }
|
||||
public double PriceMonthly { get; set; }
|
||||
public double PriceHalfMonthly { get; set; }
|
||||
public double PriceHalfYearly { get; set; }
|
||||
public double PriceYearly { get; set; }
|
||||
public int TrialDays { get; set; } = 30;
|
||||
public double MaxUser { get; set; } = 10;
|
||||
|
@ -537,7 +537,7 @@ namespace Marco.Pms.Services.Controllers
|
||||
response.Price = p.PriceMonthly;
|
||||
break;
|
||||
case 2:
|
||||
response.Price = p.PriceHalfMonthly;
|
||||
response.Price = p.PriceHalfYearly;
|
||||
break;
|
||||
case 3:
|
||||
response.Price = p.PriceYearly;
|
||||
|
Loading…
x
Reference in New Issue
Block a user