From fc35150cfe2401b93fa9f4d536b5e151b904bdf7 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期三, 13 八月 2025 16:40:38 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs | 77 ++++++++++++++++++++++++++++++++++++-- 1 files changed, 73 insertions(+), 4 deletions(-) diff --git a/FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs b/FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs index 951046b..b87e2e4 100644 --- a/FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs +++ b/FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs @@ -1,6 +1,6 @@ -锘縰sing FlexJobApi.Core.Models.Common; -using Mapster; +锘縰sing Mapster; using MediatR; +using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; @@ -46,7 +46,14 @@ /// <summary> /// 浼佷笟鍏ㄧО /// </summary> - public string EnterpriseName { get; set; } + [JsonProperty("enterpriseName")] + public string EnterpriseEnterpriseName { get; set; } + + /// <summary> + /// 鑱旂郴鐢佃瘽 + /// </summary> + [JsonProperty("contactPhoneNumber")] + public string EnterpriseContactPhoneNumber { get; set; } /// <summary> /// 鍦ㄦ嫑宀椾綅鏁伴噺 @@ -54,9 +61,19 @@ public int TaskCount { get; set; } /// <summary> + /// 鎶ュ悕浜烘暟 + /// </summary> + public int ApplyCount { get; set; } + + /// <summary> /// 浠诲姟鍚嶇О /// </summary> public string Name { get; set; } + + /// <summary> + /// 浠诲姟鍗曞彿 + /// </summary> + public string Code { get; set; } /// <summary> /// 缁撶畻鍛ㄦ湡 @@ -167,8 +184,56 @@ /// 鍙戝竷鐘舵�� /// </summary> public EnumTaskReleaseStatus ReleaseStatus { get; set; } + + /// <summary> + /// 褰曠敤鐘舵�� + /// </summary> + public EnumTaskUserHireStatus? HireStatus { get; set; } + + /// <summary> + /// 鎴戠殑鎶ュ悕鍒楄〃鐘舵�� + /// </summary> + public GetTaskInfoQueryResultApplyButton? ApplyButton { get; set; } + + /// <summary> + /// 鎴戠殑宸插綍鐢ㄥ垪琛ㄧ姸鎬� + /// </summary> + public GetTaskInfoQueryResultHireButton? HireButton { get; set; } } + /// <summary> + /// 鎴戠殑鎶ュ悕鍒楄〃-璇︽儏-鎸夐挳绫诲瀷 + /// </summary> + public enum GetTaskInfoQueryResultApplyButton + { + /// <summary> + /// 寰呯‘璁� + /// </summary> + WaitHire = 10, + /// <summary> + /// 鍘荤绾� + /// </summary> + WaitSignContract = 20 + } + + /// <summary> + /// 鎴戠殑褰曠敤鍒楄〃-璇︽儏-鎸夐挳绫诲瀷 + /// </summary> + public enum GetTaskInfoQueryResultHireButton + { + /// <summary> + /// 鐢宠楠屾敹 + /// </summary> + ApplyCheckReceive = 1, + /// <summary> + /// 杩涜涓� + /// </summary> + InProcess = 10, + /// <summary> + /// 宸插畬鎴� + /// </summary> + Completed = 20 + } /// <summary> /// 鏌ヨ浠诲姟璇︽儏-缁撴灉-绂忓埄 @@ -180,7 +245,11 @@ /// </summary> public string BenefitCode { get; set; } /// <summary> - /// 绂忓埄 + /// 绂忓埄鍥炬爣 + /// </summary> + public string BenefitField2 { get; set; } + /// <summary> + /// 绂忓埄鍚嶇О /// </summary> public string BenefitContent { get; set; } } -- Gitblit v1.9.1