using FreeSql.DataAnnotations;
namespace ZhonTai.Admin.Domain.OperationLog;
///
/// 操作日志
///
[Table(Name = DbConsts.TableNamePrefix + "operation_log", OldName = DbConsts.TableOldNamePrefix + "operation_log")]
[Index("idx_{tablename}_01", $"{nameof(ApiPath)},{nameof(CreatedTime)}", false)]
public partial class OperationLogEntity : LogAbstract
{
///
/// 接口名称
///
[Column(Position = 2, StringLength = 50)]
public string ApiLabel { get; set; }
///
/// 接口地址
///
[Column(Position = 3, StringLength = 500)]
public string ApiPath { get; set; }
///
/// 接口方法
///
[Column(Position = 4, StringLength = 50)]
public string ApiMethod { get; set; }
///
/// 请求参数
///
[Column(StringLength = -1)]
public string Params { get; set; }
///
/// 状态码
///
public int? StatusCode { get; set; }
///
/// 响应结果
///
[Column(StringLength = -1)]
public string Result { get; set; }
}