From c97916f276a328fa70696a8582dc0c23144424f9 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期三, 06 八月 2025 16:59:32 +0800 Subject: [PATCH] feat:企业开发 --- FlexJobApi.Core/Models/User/Enterprises/Commands/SaveEnterpriseCommand.cs | 61 +++++++++++++++++------------- 1 files changed, 34 insertions(+), 27 deletions(-) diff --git a/FlexJobApi.Core/Models/User/Enterprises/Commands/SaveEnterpriseCommand.cs b/FlexJobApi.Core/Models/User/Enterprises/Commands/SaveEnterpriseCommand.cs index 04ddb38..b32e145 100644 --- a/FlexJobApi.Core/Models/User/Enterprises/Commands/SaveEnterpriseCommand.cs +++ b/FlexJobApi.Core/Models/User/Enterprises/Commands/SaveEnterpriseCommand.cs @@ -14,35 +14,10 @@ public class SaveEnterpriseCommand : SaveDataCommand { /// <summary> - /// 浼佷笟鍏ㄧО + /// 浼佷笟璁よ瘉 /// </summary> [Required] - [MaxLength(128)] - public string EnterpriseName { get; set; } - - /// <summary> - /// 缁熶竴绀句細淇$敤浠g爜 - /// </summary> - [Required] - [MaxLength(18)] - public string SocietyCreditCode { get; set; } - - /// <summary> - /// 钀ヤ笟鎵х収鐓х墖 - /// </summary> - public string LicenseImage { get; set; } - - /// <summary> - /// 娉曚汉濮撳悕 - /// </summary> - [MaxLength(32)] - public string LegalPerson { get; set; } - - /// <summary> - /// 娉曚汉韬唤璇佸彿 - /// </summary> - [MaxLength(18)] - public string LegalIdentity { get; set; } + public SaveEnterpriseCommandAuth EnterpriseAuth { get; set; } /// <summary> /// 鎵�鍦ㄧ渷浠絀d @@ -106,4 +81,36 @@ /// </summary> public string Password { get; set; } } + + /// <summary> + /// 淇濆瓨浼佷笟-璁よ瘉淇℃伅 + /// </summary> + public class SaveEnterpriseCommandAuth + { + /// <summary> + /// 浼佷笟鍏ㄧО + /// </summary> + [Required] + [MaxLength(128)] + public string EnterpriseName { get; set; } + + /// <summary> + /// 缁熶竴绀句細淇$敤浠g爜 + /// </summary> + [Required] + [MaxLength(18)] + public string SocietyCreditCode { get; set; } + + /// <summary> + /// 娉曚汉濮撳悕 + /// </summary> + [MaxLength(32)] + public string LegalPerson { get; set; } + + /// <summary> + /// 娉曚汉韬唤璇佸彿 + /// </summary> + [MaxLength(18)] + public string LegalIdentity { get; set; } + } } -- Gitblit v1.9.1