From e94d90fd7d2ec6fcb41fb6aa6fc28e3f9d39ba95 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 19 八月 2025 10:50:16 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs | 97 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 93 insertions(+), 4 deletions(-) diff --git a/FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs b/FlexJobApi.Core/Models/FlexJobServer/Tasks/Queries/GetTaskInfoQuery.cs index f1f5e7d..427d6dd 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,20 @@ /// <summary> /// 浼佷笟鍏ㄧО /// </summary> - public string EnterpriseName { get; set; } + [JsonProperty("enterpriseName")] + public string EnterpriseEnterpriseName { get; set; } + + /// <summary> + /// 鑱旂郴鐢佃瘽 + /// </summary> + [JsonProperty("contactPhoneNumber")] + public string EnterpriseContactPhoneNumber { get; set; } + + /// <summary> + /// 鏄惁璁よ瘉 + /// </summary> + [JsonProperty("isReal")] + public bool EnterpriseIsReal { get; set; } /// <summary> /// 鍦ㄦ嫑宀椾綅鏁伴噺 @@ -54,9 +67,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> /// 缁撶畻鍛ㄦ湡 @@ -157,8 +180,70 @@ /// 鏄惁宸叉敹钘� /// </summary> public bool IsCollected { get; set; } + + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + public EnumTaskStatus Status { get; set; } + + /// <summary> + /// 鍙戝竷鐘舵�� + /// </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> + Wait = 1, + /// <summary> + /// 鐢宠楠屾敹 + /// </summary> + ApplyCheckReceive = 5, + /// <summary> + /// 杩涜涓� + /// </summary> + InProcess = 10, + /// <summary> + /// 宸插畬鎴� + /// </summary> + Completed = 20 + } /// <summary> /// 鏌ヨ浠诲姟璇︽儏-缁撴灉-绂忓埄 @@ -170,7 +255,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