96 lines
3.5 KiB
C#
96 lines
3.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerCore; using ServerBase;
|
|
|
|
|
|
using META_ID = System.UInt32;
|
|
using LAND_AUCTION_NUMBER = System.Int32;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain
|
|
{
|
|
public class LandAuctionActivityLogInfo : ILogInvoker.IInfo
|
|
{
|
|
//=============================================================================================
|
|
// 랜드 경매 활성화 식별 정보
|
|
//=============================================================================================
|
|
[JsonProperty]
|
|
public META_ID LandMetaId { get; set; } = 0; // 경매 대상 LandData Meta Id
|
|
|
|
[JsonProperty]
|
|
public LAND_AUCTION_NUMBER AuctionNumber { get; set; } = 0; // 경매 번호
|
|
|
|
//=============================================================================================
|
|
// DB 식별 정보
|
|
//=============================================================================================
|
|
[JsonProperty]
|
|
public string LandAuctionActivityPK { get; set; } = string.Empty;
|
|
[JsonProperty]
|
|
public string LandAuctionActivitySK { get; set; } = string.Empty;
|
|
|
|
//=============================================================================================
|
|
// 활성화 시간 정보
|
|
//=============================================================================================
|
|
[JsonProperty]
|
|
public DateTime ActivityTime { get; set; } = DateTimeHelper.MinTime; // 경매 활성화 시간
|
|
|
|
|
|
//=====================================================================================
|
|
// 로그 생성용 객체 정의
|
|
//=====================================================================================
|
|
public LandAuctionActivityLogInfo()
|
|
: base()
|
|
{
|
|
}
|
|
|
|
public void setInfo(LandAuctionActivityLogInfo logInfo)
|
|
{
|
|
LandMetaId = logInfo.LandMetaId;
|
|
AuctionNumber = logInfo.AuctionNumber;
|
|
|
|
LandAuctionActivityPK = logInfo.LandAuctionActivityPK;
|
|
LandAuctionActivitySK = logInfo.LandAuctionActivitySK;
|
|
|
|
ActivityTime = logInfo.ActivityTime;
|
|
}
|
|
|
|
//=====================================================================================
|
|
// 로그 출력용 객체 정의
|
|
//=====================================================================================
|
|
public LandAuctionActivityLogInfo(ILogInvoker parent, LandAuctionActivityLogInfo logInfo)
|
|
: base(parent)
|
|
{
|
|
if (null != logInfo)
|
|
{
|
|
setInfo(logInfo);
|
|
}
|
|
}
|
|
|
|
//=====================================================================================
|
|
// 로그 설정용 함수
|
|
//=====================================================================================
|
|
public void setLogProperty( META_ID landMetaId, LAND_AUCTION_NUMBER auctionNumber
|
|
, string landAuctionRegistryPK, string landAuctionRegistrySK
|
|
, DateTime activityTime )
|
|
{
|
|
LandMetaId = landMetaId;
|
|
AuctionNumber = auctionNumber;
|
|
|
|
LandAuctionActivityPK = landAuctionRegistryPK;
|
|
LandAuctionActivitySK = landAuctionRegistrySK;
|
|
|
|
ActivityTime = activityTime;
|
|
}
|
|
}
|
|
}
|
|
|