188 Star 493 Fork 215

李玉宝/BestQA

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CreateQuestionCmd.cs 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
// ***********************************************************************
// 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;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/yubaolee/BestQA.git
git@gitee.com:yubaolee/BestQA.git
yubaolee
BestQA
BestQA
master

搜索帮助