NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

G4 Workspace Entity---
/*
* Copyright 2006-2021 HighRadius Corporation
*/
package com.highradius.g4.redline.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;

/**
* The G4Workspace entity.
*
* @author shouvik.ch
* @author shourya.sisodia
*/
@Entity
@Table(name = "g4_workspace")
@SQLDelete(sql = "UPDATE g4_workspace SET is_deleted = 1, update_time=now(), update_user='system' WHERE pk_workspace_id = ?")
@Where(clause = "is_deleted = 0")
public class G4Workspace {

/** The workspace id. */
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name ="pk_workspace_id")
private Long pkWorkspaceId;

/** The name. */
@Column(name = "name")
private String name;

/** The description. */
@Column(name = "description")
private String description;

/** The is deleted. */
@Column(name = "is_deleted")
private boolean isDeleted = false;

/** The create user. */
@Column(name = "create_user")
private String createUser;

/** The create time. */
@Column(name = "create_time")
private Timestamp createTime;

/** The update user. */
@Column(name = "update_user")
private String updateUser;

/** The update time. */
@Column(name = "update_time")
private Timestamp updateTime;

/** The account id. */
@Column(name = "account_id")
private String accountId;


/**
* Gets the creates the user.
*
* @return the creates the user
*/
public String getCreateUser() {
return createUser;
}

/**
* Sets the creates the user.
*
* @param createUser the new creates the user
*/
public void setCreateUser(String createUser) {
this.createUser = createUser;
}

/**
* Gets the creates the time.
*
* @return the creates the time
*/
public Timestamp getCreateTime() {
return createTime;
}

/**
* Sets the creates the time.
*
* @param createTime the new creates the time
*/
public void setCreateTime(Timestamp createTime) {
this.createTime = createTime;
}

/**
* Gets the update user.
*
* @return the update user
*/
public String getUpdateUser() {
return updateUser;
}

/**
* Sets the update user.
*
* @param updateUser the new update user
*/
public void setUpdateUser(String updateUser) {
this.updateUser = updateUser;
}

/**
* Gets the update time.
*
* @return the update time
*/
public Timestamp getUpdateTime() {
return updateTime;
}

/**
* Sets the update time.
*
* @param updateTime the new update time
*/
public void setUpdateTime(Timestamp updateTime) {
this.updateTime = updateTime;
}

/**
* Gets the workspace id
*
* @return the workspace id
*/
public Long getPkWorkspaceId() {
return pkWorkspaceId;
}

/**
* Sets the workspace id
*
* @param pkWorkspaceId the new workspace id
*/
public void setPkWorkspaceId(Long pkWorkspaceId) {
this.pkWorkspaceId = pkWorkspaceId;
}

/**
* Gets the name
*
* @return the name
*/
public String getName() {
return name;
}
/**
* Sets the name
*
* @param name the new name
*/

public void setName(String name) {
this.name = name;
}

/**
* Gets the description
*
* @return the description
*/
public String getDescription() {
return description;
}

/**
* Sets the description
*
* @param description the new description
*/

public void setDescription(String description) {
this.description = description;
}


/**
* Gets the account id
*
* @return the account id
*/
public String getAccountId() {
return accountId;
}
/**
* Sets the account id
*
* @param accountId the new account id
*/

public void setAccountId(String accountId) {
this.accountId = accountId;
}

/**
* Checks if is deleted.
*
* @return the isDeleted
*/
public boolean isDeleted() {
return isDeleted;
}

/**
* Sets the deleted.
*
* @param isDeleted the isDeleted to set
*/
public void setDeleted(boolean isDeleted) {
this.isDeleted = isDeleted;
}

}


G4 Workspace DTO---
/*
* Copyright 2006-2021 HighRadius Corporation
*/

package com.highradius.g4.redline.dto;

import javax.xml.bind.annotation.XmlRootElement;

/**
* The Class WorkspaceListDTO represents the resource g4_workspace.
*
* @author shouvik.ch
*
*/
@XmlRootElement(name="workspace")

public class WorkspaceListDTO {

/** The workspace id. */
private Long pkWorkspaceId;

/** The name of workspace. */
private String name;

/** The description of the workspace. */
private String description;


/**
* Gets the workspace id.
*
* @return the workspace id
*/
public Long getPkWorkspaceId() {
return pkWorkspaceId;
}

/**
* Sets the workspace id.
*
* @param pkWorkspaceId the new workspace id
*/
public void setPkWorkspaceId(Long pkWorkspaceId) {
this.pkWorkspaceId = pkWorkspaceId;
}

/**
* Gets the name.
*
* @return the name
*/
public String getName() {
return name;
}

/**
* Sets the name.
*
* @param name the new name
*/
public void setName(String name) {
this.name = name;
}

/**
* Gets the description
*
* @return the description
*/
public String getDescription() {
return description;
}


/**
* Sets the description
*
* @param description the new description
*/
public void setDescription(String description) {
this.description = description;
}



}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.