demo20230512/ViewModels/LCARequestAnonymousReplyViewModel.cs
2023-05-12 10:20:28 +08:00

39 lines
1.7 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Resources;
namespace Weee.ViewModels
{
public class LCARequestAnonymousReplyViewModel
{
[Required]
[Display(Name = "EvidenceFile", ResourceType = typeof(Resource))]
public HttpPostedFileBase ReferenceFile { get; set; }
[Required]
[Display(Name = "ReplyCarbonCoefficient", ResourceType = typeof(Resource))]
public decimal? ReplyParameterValue { get; set; }
[Display(Name = "OrginalMaterialScalar", ResourceType = typeof(Resource))]
public decimal OrginalMaterialScalar { get; set; }
[Display(Name = "ReplyMaterialScalar", ResourceType = typeof(Resource))]
public decimal? ReplyMaterialScalar { get; set; }
[Display(Name = "ContactInfo", ResourceType = typeof(Resource))]
public string ContactInfo { get; set; }
[Display(Name = "MessageToSender", ResourceType = typeof(Resource))]
public string Description { get; set; }
[Display(Name = "MaterialName", ResourceType = typeof(Resource))]
public string MaterialName { get; set; }
[Display(Name = "SenderCompanyName", ResourceType = typeof(Resource))]
public string SenderCompanyName { get; set; }
[Display(Name = "Sender", ResourceType = typeof(Resource))]
public string SenderName { get; set; }
[Display(Name = "DistributionPrinciple", ResourceType = typeof(Resource))]
public string Distrubution { get; set; }
[Display(Name = "SendTime", ResourceType = typeof(Resource))]
public DateTime SendTime { get; set; }
}
}