NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

//invoice pojo

package bbsr.highradius.training.model.invoice;

import java.util.Date;

public class trn_invoice {

private int pk_invoice_id;
private trn_account fk_account_id;
private String invoice_number;
private String company_code;
private String fiscal_year;
private String item_number;
private trn_invoice_type fkInvoiceType;
private trn_posting_key fkPostingKey;
private trn_customer fkCustomerId;
private double invoice_total_amount;
private double invoice_due_amount;
private Date invoice_created_date;
private Date due_date;
private int discount_1_percentage;
private int discount_2_percentage;
private int discount_3_percentage;
private String debit_credit_indicator;
private int is_open;
private String approval_status;
private int custid;
private int postid;
private int invid;
public trn_invoice(int pk_invoice_id, trn_account fk_account_id, String invoice_number, String company_code,
String fiscal_year, String item_number, trn_invoice_type fkInvoiceType, trn_posting_key fkPostingKey,
trn_customer fkCustomerId, double invoice_total_amount, double invoice_due_amount,
Date invoice_created_date, Date due_date, int discount_1_percentage, int discount_2_percentage,
int discount_3_percentage, String debit_credit_indicator, int is_open, String approval_status, int custid,
int postid, int invid) {
super();
this.pk_invoice_id = pk_invoice_id;
this.fk_account_id = fk_account_id;
this.invoice_number = invoice_number;
this.company_code = company_code;
this.fiscal_year = fiscal_year;
this.item_number = item_number;
this.fkInvoiceType = fkInvoiceType;
this.fkPostingKey = fkPostingKey;
this.fkCustomerId = fkCustomerId;
this.invoice_total_amount = invoice_total_amount;
this.invoice_due_amount = invoice_due_amount;
this.invoice_created_date = invoice_created_date;
this.due_date = due_date;
this.discount_1_percentage = discount_1_percentage;
this.discount_2_percentage = discount_2_percentage;
this.discount_3_percentage = discount_3_percentage;
this.debit_credit_indicator = debit_credit_indicator;
this.is_open = is_open;
this.approval_status = approval_status;
this.custid = custid;
this.postid = postid;
this.invid = invid;
}
public trn_invoice() {
super();
}
public int getPk_invoice_id() {
return pk_invoice_id;
}
public void setPk_invoice_id(int pk_invoice_id) {
this.pk_invoice_id = pk_invoice_id;
}
public trn_account getFk_account_id() {
return fk_account_id;
}
public void setFk_account_id(trn_account fk_account_id) {
this.fk_account_id = fk_account_id;
}
public String getInvoice_number() {
return invoice_number;
}
public void setInvoice_number(String invoice_number) {
this.invoice_number = invoice_number;
}
public String getCompany_code() {
return company_code;
}
public void setCompany_code(String company_code) {
this.company_code = company_code;
}
public String getFiscal_year() {
return fiscal_year;
}
public void setFiscal_year(String fiscal_year) {
this.fiscal_year = fiscal_year;
}
public String getItem_number() {
return item_number;
}
public void setItem_number(String item_number) {
this.item_number = item_number;
}
public trn_invoice_type getFkInvoiceType() {
return fkInvoiceType;
}
public void setFkInvoiceType(trn_invoice_type fkInvoiceType) {
this.fkInvoiceType = fkInvoiceType;
}
public trn_posting_key getFkPostingKey() {
return fkPostingKey;
}
public void setFkPostingKey(trn_posting_key fkPostingKey) {
this.fkPostingKey = fkPostingKey;
}
public trn_customer getFkCustomerId() {
return fkCustomerId;
}
public void setFkCustomerId(trn_customer fkCustomerId) {
this.fkCustomerId = fkCustomerId;
}
public double getInvoice_total_amount() {
return invoice_total_amount;
}
public void setInvoice_total_amount(double invoice_total_amount) {
this.invoice_total_amount = invoice_total_amount;
}
public double getInvoice_due_amount() {
return invoice_due_amount;
}
public void setInvoice_due_amount(double invoice_due_amount) {
this.invoice_due_amount = invoice_due_amount;
}
public Date getInvoice_created_date() {
return invoice_created_date;
}
public void setInvoice_created_date(Date invoice_created_date) {
this.invoice_created_date = invoice_created_date;
}
public Date getDue_date() {
return due_date;
}
public void setDue_date(Date due_date) {
this.due_date = due_date;
}
public int getDiscount_1_percentage() {
return discount_1_percentage;
}
public void setDiscount_1_percentage(int discount_1_percentage) {
this.discount_1_percentage = discount_1_percentage;
}
public int getDiscount_2_percentage() {
return discount_2_percentage;
}
public void setDiscount_2_percentage(int discount_2_percentage) {
this.discount_2_percentage = discount_2_percentage;
}
public int getDiscount_3_percentage() {
return discount_3_percentage;
}
public void setDiscount_3_percentage(int discount_3_percentage) {
this.discount_3_percentage = discount_3_percentage;
}
public String getDebit_credit_indicator() {
return debit_credit_indicator;
}
public void setDebit_credit_indicator(String debit_credit_indicator) {
this.debit_credit_indicator = debit_credit_indicator;
}
public int getIs_open() {
return is_open;
}
public void setIs_open(int is_open) {
this.is_open = is_open;
}
public String getApproval_status() {
return approval_status;
}
public void setApproval_status(String approval_status) {
this.approval_status = approval_status;
}
public int getCustid() {
return custid;
}
public void setCustid(int custid) {
this.custid = custid;
}
public int getPostid() {
return postid;
}
public void setPostid(int postid) {
this.postid = postid;
}
public int getInvid() {
return invid;
}
public void setInvid(int invid) {
this.invid = invid;
}



}


//invoice mapping

<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="bbsr.highradius.training.model.invoice.trn_invoice" table="trn_invoice">
<meta attribute="class-description"> This class contains invoice details</meta>
<id name="pk_invoice_id" type="int" column="pk_invoice_id">
<generator class="native"/>
</id>
<property name="invoice_number" column="invoice_number" type="string"/>
<property name="company_code" column="company_code" type="string"/>
<property name="fiscal_year" column="fiscal_year" type="string"/>
<property name="item_number" column="item_number" type="string"/>
<property name="invoice_total_amount" column="invoice_total_amount" type="double"/>
<property name="invoice_due_amount" column="invoice_due_amount" type="double"/>
<property name="invoice_created_date" column="invoice_created_date" type="date"/>
<property name="due_date" column="due_date" type="date"/>
<property name="discount_1_percentage" column="discount_1_percentage" type="int"/>
<property name="discount_2_percentage" column="discount_2_percentage" type="int"/>
<property name="discount_3_percentage" column="discount_3_percentage" type="int"/>
<property name="debit_credit_indicator" column="debit_credit_indicator" type="string"/>
<property name="is_open" column="is_open" type="int"/>
<property name="approval_status" column="approval_status" type="string"/>
<property name="custid" column="fk_customer_id" type="int"/>
<property name="postid" column="fk_posting_key" type="int"/>
<property name="invid" column="fk_invoice_type" type="int"/>
<many-to-one name="fk_account_id" column="fk_account_id" class="bbsr.highradius.training.model.invoice.trn_account" lazy="false" insert="false" update="false"/>
<many-to-one name="fkInvoiceType" column="fk_invoice_type" class="bbsr.highradius.training.model.invoice.trn_invoice_type" lazy="false" insert="false" update="false"/>
<many-to-one name="fkPostingKey" column="fk_posting_key" class="bbsr.highradius.training.model.invoice.trn_posting_key" lazy="false" insert="false" update="false"/>
<many-to-one name="fkCustomerId" column="fk_customer_id" class="bbsr.highradius.training.model.invoice.trn_customer" lazy="false" insert="false" update="false"/>
</class>
</hibernate-mapping>
     
 
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.