1234567891011121314151617181920212223242526272829303132333435 |
- using DW5S.Entity;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace DW5S.ViewModel
- {
- public class BaseViewModel
- {
- [Display(Name = "编号")]
- public long Id { get; set; }
- [Display(Name = "创建时间")]
- public DateTime CreateTime { get; set; }
- [Display(Name = "更新时间")]
- public DateTime UpdateTime { get; set; }
- }
- public class BaseViewModelInt
- {
- [Display(Name = "编号")]
- public int Id { get; set; }
- [Display(Name = "创建时间")]
- public DateTime CreateTime { get; set; }
- [Display(Name = "更新时间")]
- public DateTime UpdateTime { get; set; }
- }
- }
|