9 changed files with 16390 additions and 9 deletions
-
5src/Shentun.Peis.Application.Contracts/CustomerOrgRegisters/CustomerOrgRegisterDto.cs
-
19src/Shentun.Peis.Application.Contracts/CustomerOrgRegisters/UpdateIsQuestionInputDto.cs
-
22src/Shentun.Peis.Application/CustomerOrgRegisters/CustomerOrgRegisterAppService.cs
-
8src/Shentun.Peis.Domain/CustomerOrgRegisters/CustomerOrgRegister.cs
-
31src/Shentun.Peis.Domain/CustomerOrgRegisters/CustomerOrgRegisterManager.cs
-
2src/Shentun.Peis.EntityFrameworkCore/DbMapping/CustomerOrgRegisters/CustomerOrgRegisterDbMapping.cs
-
16276src/Shentun.Peis.EntityFrameworkCore/Migrations/20250226072402_update_customer_org_register_add_is_question.Designer.cs
-
28src/Shentun.Peis.EntityFrameworkCore/Migrations/20250226072402_update_customer_org_register_add_is_question.cs
-
8src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
@ -0,0 +1,19 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Text; |
||||
|
|
||||
|
namespace Shentun.Peis.CustomerOrgRegisters |
||||
|
{ |
||||
|
public class UpdateIsQuestionInputDto |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 单位次数Id
|
||||
|
/// </summary>
|
||||
|
public Guid CustomerOrgRegisterId { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 是否要填写问卷 Y N
|
||||
|
/// </summary>
|
||||
|
public char IsQuestion { get; set; } = 'N'; |
||||
|
} |
||||
|
} |
||||
16276
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250226072402_update_customer_org_register_add_is_question.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,28 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class update_customer_org_register_add_is_question : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_question", |
||||
|
table: "customer_org_register", |
||||
|
type: "character(1)", |
||||
|
maxLength: 1, |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "是否需要填写问卷才能看报告"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_question", |
||||
|
table: "customer_org_register"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue