package com.njcn.csdevice.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * Description:
 * Date: 2023/6/27  9:40【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@ApiModel(description="")
@Data
@NoArgsConstructor
@TableName(value = "cs_device_user")
public class CsDeviceUserPO extends BaseEntity {
    /**
     * 主用户id
     */
    @TableField(value = "primary_user_id")
    @ApiModelProperty(value="主用户id")
    private String primaryUserId;

    /**
     * 子用户id
     */
    @TableField(value = "sub_user_id")
    @ApiModelProperty(value="子用户id")
    private String subUserId;
    /**
     * 状态(0：删除 1：正常)
     */
    @TableField(value = "status")
    private String status;

    /**
     * 装置Id
     */
    @TableField(value = "device_id")
    @ApiModelProperty(value="装置Id")
    private String deviceId;



    public static final String COL_PRIMARY_USER_ID = "primary_user_id";

    public static final String COL_SUB_USER_ID = "sub_user_id";

    public static final String COL_DEVICE_ID = "device_id";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_TIME = "update_time";
}