package cn.stylefeng.team.project.modular.filing.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@TableName("devops_business_filing_log")
@Data
@EqualsAndHashCode(callSuper = true)
public class BusinessFilingLog extends BaseEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ChineseDescription("主键id")
    private Long id;

    @TableField("business_id")
    @ChineseDescription("业务id")
    private Long businessId;

    @TableField("business_primary_key_id")
    @ChineseDescription("业务主键id")
    private Long businessPrimaryKeyId;

    @TableField("user_id")
    @ChineseDescription("填报人")
    private Long userId;

    @TableField("user_own_dept_id")
    @ChineseDescription("填报人所属部门")
    private Long userOwnDeptId;

    @TableField("report_time")
    @ChineseDescription("填报时间")
    private Date reportTime;

}