Skip to content

89_田浩沛_第一次作业 - #9

Open
haotianak47 wants to merge 2 commits into
Guigulive:masterfrom
haotianak47:master
Open

89_田浩沛_第一次作业#9
haotianak47 wants to merge 2 commits into
Guigulive:masterfrom
haotianak47:master

Conversation

@haotianak47

Copy link
Copy Markdown

pragma solidity ^0.4.2;

contract employee {

address owner;
unit pay;

//设置员工地址
function setAddr(address addr) public {
    owner = addr;
}

//获取员工地址
function getAddr() public constant returns (address) {
return owner;
}

//设置员工薪水
 function setPay(unit newPay) public {
    pay = newPay;
}

//获取员工薪水
function getPay() public constant returns (unint) {
    return  pay;
}

}

@haotianak47 haotianak47 changed the title 田浩沛第一次作业 田浩沛_第一次作业 Mar 15, 2018
@haotianak47 haotianak47 changed the title 田浩沛_第一次作业 89_田浩沛_第一次作业 Mar 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant