-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseModel.cs
More file actions
37 lines (30 loc) · 812 Bytes
/
Copy pathBaseModel.cs
File metadata and controls
37 lines (30 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace MBDEVproAPI.Common.Models
{
public class BaseModel
{
/// <summary>
/// Created By for entities
/// </summary>
[StringLength(50), Required]
public string CreatedBy { get; set; }
/// <summary>
/// Created Date for entities
/// </summary>
[Required]
public DateTime CreatedDate { get; set; }
/// <summary>
/// Modified By
/// </summary>
[StringLength(50), Required]
public string ModifiedBy { get; set; }
/// <summary>
/// Modified Date
/// </summary>
[Required]
public DateTime ModifiedDate { get; set; }
}
}