Skip to content

Commit ffde435

Browse files
committed
Auditable actor filed length changed to 256
1 parent 5b076a6 commit ffde435

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

MZBase.Domain/Auditable.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.ComponentModel.DataAnnotations;
23
using System.ComponentModel.DataAnnotations.Schema;
34

45
namespace MZBase.Domain
@@ -7,8 +8,10 @@ public class Auditable<PrimaryKey> : Model<PrimaryKey>, IAuditable<PrimaryKey>
78
where PrimaryKey : struct
89
{
910
[Column(Order = 100)]
11+
[StringLength(256)]
1012
public virtual string CreatedBy { get; set; }
1113
[Column(Order = 101)]
14+
[StringLength(256)]
1215
public virtual string LastModifiedBy { get; set; }
1316
[Column(Order = 102)]
1417
public virtual DateTime CreationTime { get; set; }

MZBase.Domain/MZBase.Domain.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<Nullable>enable</Nullable>
6-
<Version>2.0.2</Version>
6+
<Version>2.0.3</Version>
77
<Authors>Mahdi Zandakbari</Authors>
88
<Description>A simple library for base classes of common usabilities needed in enterprise software</Description>
99
<PackageProjectUrl>https://github.com/mzand111/MZBase</PackageProjectUrl>

0 commit comments

Comments
 (0)