You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
694 B
C#
30 lines
694 B
C#
namespace DB.Entity
|
|
{
|
|
public class UpdateLog:BaseChimsDb
|
|
{
|
|
/// <summary>
|
|
/// 旧的value
|
|
/// </summary>
|
|
public string OldValue { get; set; }
|
|
/// <summary>
|
|
/// 新的value
|
|
/// </summary>
|
|
public string NewValue { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 页面的Id
|
|
/// </summary>
|
|
public long FunctionId { get; set; }
|
|
}
|
|
|
|
|
|
public class UpdateMapper : SystemEntityTypeBuilder<UpdateLog>
|
|
{
|
|
public UpdateMapper() : base("UpdateLog")
|
|
{
|
|
this.Property(x => x.OldValue).HasSize(500);
|
|
this.Property(x => x.NewValue).HasSize(500);
|
|
}
|
|
}
|
|
} |