123456789101112131415161718192021222324252627282930313233343536373839 |
- using System;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using FreeSql.DataAnnotations;
- namespace Admin.Core.Common.BaseModel
- {
-
-
-
- public class EntityUpdate<TKey> : Entity<TKey>, IEntityUpdate<TKey> where TKey : struct
- {
-
-
-
- [Description("修改者Id")]
- [Column(Position = -3, CanInsert = false)]
- public long? ModifiedUserId { get; set; }
-
-
-
- [Description("修改者")]
- [Column(Position = -2, CanInsert = false), MaxLength(50)]
- public string ModifiedUserName { get; set; }
-
-
-
- [Description("修改时间")]
- [Column(Position = -1, CanInsert = false, ServerTime = DateTimeKind.Local)]
- public DateTime? ModifiedTime { get; set; }
- }
- public class EntityUpdate : EntityUpdate<long>
- {
- }
- }
|