VehicleShared.java 1.3 KB
package cn.com.glsx.app.modules.entity;

import com.glsx.plat.mybatis.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table(name = "t_vehicle_shared")
public class VehicleShared extends BaseEntity {

    /**
     * 分享id,对应t_cust_user_shared_data表id
     */
    @Column(name = "shared_id")
    private Long sharedId;

    /**
     * 授权人id,对应t_cust_user表id
     */
    @Column(name = "accorder_id")
    private Long accorderId;

    /**
     * 获权人id,对应t_cust_user表id
     */
    @Column(name = "receiver_id")
    private Long receiverId;

    /**
     * 授权数据id
     */
    @Column(name = "content_id")
    private Long contentId;

//    /**
//     * 内容类型:0车辆
//     */
//    @Column(name = "content_type")
//    private Integer contentType;
//
//    /**
//     * 权限类型 r=只读 wr=读写
//     */
//    @Column(name = "permit_type")
//    private String permitType;
//
//    /**
//     * 生效时间
//     */
//    @Column(name = "effective_date")
//    private Date effectiveDate;
//
//    /**
//     * 失效时间
//     */
//    @Column(name = "expiration_date")
//    private Date expirationDate;
//
//    /**
//     * 状态:0默认,1有效,2失效
//     */
//    private Integer status;

}