logo
Курсова_Проектування інформаційної системи автоматизації автомобільного магазину

Додатки

  1. Клас Client

import java.util.Vector;

public class Client {

public Integer client_id;

public String name;

public Vector myWorker;

public Vector 1 .. *;

public Vector 1 .. *;

public String order_spare_part() {

return null;

}

private String signature_document() {

return null;

}

public String pay() {

return null;

}

}

  1. Клас Document

public class Document {

public Integer doc_id;

public Integer date;

}

  1. Клас Individual

public class Individual extends Client {

public Integer card_number;

}

  1. Клас Legal_entity

public class Legal_entity extends Client {

public String legal_address;

public String contact_name;

}

  1. Клас Manufacturer

import java.util.Vector;

public class Manufacturer {

private String name;

public String country;

public Vector 1 .. 1;

}

  1. Клас Order

import java.util.Vector;

public class Order {

public Integer client_id;

public Integer date;

public Integer number;

public String price;

public Vector myWorker;

public Vector myClient;

public Vector mySpare_part;

public Vector myDocument;

public Vector 1 .. *;

}

  1. Клас Spare_part

import java.util.Vector;

public class Spare_part {

public String name;

public String appointment;

public Vector 1 .. *;

public Vector 1 .. 1;

}

  1. Клас Worker

public class Worker {

public String name;

public String consultation() {

return null;

}

public Boolean addClient(String name) {

return null;

}

public void design order() {

}

public Boolean addSpare_part(String name, String appointment) {

return null;

}

public Boolean removeSpare_part(String name, String appointment) {

return null;

}

}