BestQA.Commands/CreateQuestionCmd.cs

(完整代码) 1KB

// ***********************************************************************
// Assembly         : BestQA.Commands
// Author           : qinzhi
// Created          : 06-20-2015
//
// Last Modified By : qinzhi
// Last Modified On : 06-23-2015
// ***********************************************************************
// <copyright file="CreateQuestionCmd.cs" company="Microsoft">
//     Copyright (c) Microsoft. All rights reserved.
// </copyright>
// <summary>创建问题命令</summary>
// ***********************************************************************
using System;
using ENode.Commanding;
namespace BestQA.Commands
{
    [Serializable]
    public class CreateQuestionCmd : Command<String>
    {
        public string Title { get; set; }
        public string Content { get; set; }
        public int Reward { get; set; }
        public string UserId { get; set; }
        public string Tag { get; set; }
        private CreateQuestionCmd() { }
        public CreateQuestionCmd(string title, string content, int reward, string tag, string userid)
        {
            Title = title;
            Content = content;
            Reward = reward;
            Tag = tag;
            UserId = userid;
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。