123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- using OASystem.Domain.Attributes;
- using OASystem.Domain.Entities;
- using OASystem.Domain.Entities.Resource;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.ViewModels.Resource
- {
- public class CarDataView : Res_CarData
- {
- public int LastUpdateDays
- {
- get
- {
- if (LastUpdateTime == DateTime.MinValue)
- {
- LastUpdateTime = CreateTime;
- return DateTime.Now.Subtract(CreateTime).Days;
- }
- else return DateTime.Now.Subtract(LastUpdateTime).Days;
- }
- }
- }
- public class CarDataSelectView
- {
- public int Id { get; set; }
- [Encrypted]
- public string UnitArea { get; set; }
- }
- public class CarDataDetailDataView
- {
- public int Id { get; set; }
-
-
-
- public int Score { get; set; }
-
-
-
- [Encrypted]
- public string UnitArea { get; set; }
-
-
-
- [Encrypted]
- public string UnitName { get; set; }
-
-
-
- [Encrypted]
- public string Address { get; set; }
-
-
-
- [Encrypted]
- public string Contact { get; set; }
-
-
-
- [Encrypted]
- public string ContactTel { get; set; }
-
-
-
- [Encrypted]
- public string ContactEmail { get; set; }
-
-
-
- [Encrypted]
- public string ContactFax { get; set; }
-
-
-
- [Encrypted]
- public string OtherInfo { get; set; }
-
-
-
- [Encrypted]
- public string CarDes { get; set; }
-
-
-
-
- [Encrypted]
- public string CarPicPaths { get; set; }
-
-
-
-
- [Encrypted]
- public string QualificationScore { get; set; }
-
-
-
-
- [Encrypted]
- public string CarAgeScore { get; set; }
-
-
-
-
- [Encrypted]
- public string CleanImgScore { get; set; }
-
-
-
-
- [Encrypted]
- public string SmellScore { get; set; }
-
-
-
-
- [Encrypted]
- public string WaterPaperScore { get; set; }
-
-
-
-
- [Encrypted]
- public string HardwareScore { get; set; }
-
-
-
-
- [Encrypted]
- public string TimeScore { get; set; }
-
-
-
-
- [Encrypted]
- public string SafetyScore { get; set; }
-
-
-
-
- [Encrypted]
- public string DrivingAgeScore { get; set; }
- }
- public class CarDataMsgTipsView
- {
- [Encrypted]
- public string Area { get; set; }
- [Encrypted]
- public string Client { get; set; }
- [Encrypted]
- public string Contact { get; set; }
- public string Job { get; set; }
- [Encrypted]
- public string Tel { get; set; }
- public int CreateUserId { get; set; }
- public string CreatleUserName { get; set; }
- public DateTime CreateTime { get; set; }
- }
- }
|