using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.Resource
{
public class GamesBudgetMasterView
{
}
public class GamesBudgetMasterInfoView
{
///
/// id
///
public int Id { get; set; }
///
/// 直属父类
///
[Required(ErrorMessage = "“直属父类”是必填项!")]
public string T0 { get; set; }
///
/// 工作项目
///
[Required(ErrorMessage = "“工作项目”是必填项!")]
public string ProjectWork { get; set; }
///
/// 测算内容
///
[Required(ErrorMessage = "“测算内容”是必填项!")]
public string CalculationContent { get; set; }
///
/// 数量
///
[Required(ErrorMessage = "“数量”是必填项!")]
public decimal Quantity { get; set; }
///
/// 单位
///
[Required(ErrorMessage = "“单位”是必填项!")]
public string Unit { get; set; }
///
/// 单价
///
[Required(ErrorMessage = "“单价”不能为空!")]
public decimal UnitPrice { get; set; }
///
/// 周期-时间
///
public int CycleTime { get; set; }
///
/// 周期-单位
///
public string CycleUnit { get; set; }
///
/// 项总金额
///
[Required(ErrorMessage = "“项总金额”不能为空!")]
public decimal ItemTotal { get; set; }
///
/// 说明
///
public string Specification { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
public class GamesBudgetMasterListView : GamesBudgetMasterInfoView
{
///
/// 行号
///
public int RowIndex { get; set; }
}
}