package com.hr.repository.domain;

import jakarta.persistence.*;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import org.springframework.web.bind.annotation.ModelAttribute;


@Schema(description = "账户表")
@Data
@Entity
@Table(name = "ip_account")
public class IpAccountPO {

    @Id
    /** 主键 */
    @Schema(description = "主键")
	private Long id ;

    /** 账户编号 */
    @Column(name = "acc_no")
    @Schema(description = "账户编号")
	private String accNo ;

    /** 备注 */
    @Schema(description = "备注")
	private String remark ;

    /** 状态,normal 有效，disable 禁用，delete 删除 */
    @Column(name = "status")
    @Schema(description = "状态;normal 有效，disable 禁用，delete 删除")
	private String status ;

    /** 创建时间 */
    @Column(name = "add_time")
    @Schema(description = "创建时间")
	private LocalDateTime addTime ;

    /** 更新时间 */
    @Column(name = "update_time")
    @Schema(description = "更新时间")
	private LocalDateTime updateTime ;

    /** 创建人id */
    @Column(name = "add_user_id")
    private Long addUserId ;

    /** 更新人id */
    @Column(name = "update_user_id")
    private Long updateUserId ;

    /** 创建人姓名 */
    @Column(name = "add_user_name")
    @Schema(description = "创建人姓名")
	private String addUserName ;

    /** 更新人姓名 */
    @Column(name = "update_user_name")
    @Schema(description = "更新人姓名")
	private String updateUserName ;

}
