package cn.com.ctop.kuaishou.modules.ai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 快手账户创意创建超限记录信息
 * @author jeecg-boot
 * @date   2021-01-30
 * @version V1.0
 */
@Data
@TableName("ctop_kuaishou_account_creative_overrun_info")
@EqualsAndHashCode(callSuper = false)
public class KuaishouAccountCreativeOverrunInfo {

	/**id*/
	@TableId(type = IdType.AUTO)
	private Long id;
	/**accountId*/
	private Long accountId;
	/**stateDate*/
	private String stateDate;
	/**
	 * 超限时间
	 */
	private String overrunTime;
	/**createTime*/
	private Date createTime;
	/**updateTime*/
	private Date updateTime;

	public KuaishouAccountCreativeOverrunInfo(Long advertiserId, String date,String dateTime) {
		this.accountId = advertiserId;
		this.stateDate = date;
		this.overrunTime = dateTime;
		this.createTime = new Date();
		this.updateTime =new Date();
	}
}
