You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
941 B
Java
32 lines
941 B
Java
package com.yau.digitalrmb.institutionidentity.infrastructure;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.yau.digitalrmb.shared.infrastructure.persistence.AuditableEntity;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
@Getter
|
|
@Setter
|
|
@TableName("institution_sm2_key")
|
|
public class InstitutionSm2KeyEntity extends AuditableEntity {
|
|
@TableField("key_id")
|
|
private String keyId;
|
|
@TableField("key_name")
|
|
private String keyName;
|
|
@TableField("key_owner")
|
|
private String keyOwner;
|
|
@TableField("key_purpose")
|
|
private String keyPurpose;
|
|
@TableField("user_id")
|
|
private Long userId;
|
|
@TableField("school_id")
|
|
private Long schoolId;
|
|
@TableField("class_id")
|
|
private Long classId;
|
|
@TableField("public_key")
|
|
private String publicKey;
|
|
@TableField("encrypted_private_key")
|
|
private String encryptedPrivateKey;
|
|
}
|