namespace NetAdmin.Domain.DbMaps.Dependency;
///
public abstract record MutableEntity : MutableEntity
{
///
[Column(IsIdentity = false, IsPrimary = true, Position = 1)]
[Snowflake]
public override long Id { get; init; }
}
///
/// 可变实体
///
public abstract record MutableEntity : LiteMutableEntity, IFieldModifiedUser
where T : IEquatable
{
///
[Column(IsIdentity = false, IsPrimary = true, Position = 1)]
public override T Id { get; init; }
///
[Column(CanInsert = false, Position = -1)]
[Ignore]
[JsonIgnore]
public long? ModifiedUserId { get; init; }
///
[Column(DbType = Chars.FLG_DB_FIELD_TYPE_VARCHAR_31, CanInsert = false, Position = -1)]
[Ignore]
[JsonIgnore]
public string ModifiedUserName { get; init; }
}